Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added codecov code for showing statistics #2877

Open
wants to merge 28 commits into
base: develop-postgres
Choose a base branch
from
Open
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
f39599a
added codecov code for showing statistics
VanshikaSabharwal Jan 19, 2025
d5da3e9
changed yml to yaml
VanshikaSabharwal Jan 19, 2025
781da57
changed yml to yaml
VanshikaSabharwal Jan 19, 2025
20c1006
changed yaml back to yml
VanshikaSabharwal Jan 19, 2025
6f48459
added some code in vitest.config.ts
VanshikaSabharwal Jan 20, 2025
fca9609
added some code in vitest.config.ts
VanshikaSabharwal Jan 20, 2025
61a1b79
Merge branch 'develop-postgres' into codecov-work
VanshikaSabharwal Jan 20, 2025
0d9c5c4
added some code in vitest.config.ts
VanshikaSabharwal Jan 20, 2025
5ee1906
Merge branch 'codecov-work' of https://github.com/VanshikaSabharwal/t…
VanshikaSabharwal Jan 20, 2025
836dc81
updated code acc. to coderabbitai suggestions
VanshikaSabharwal Jan 20, 2025
742df0f
updated code acc. to coderabbitai suggestions
VanshikaSabharwal Jan 20, 2025
415ad59
updated code acc. to coderabbitai suggestions
VanshikaSabharwal Jan 20, 2025
0021e35
updated code acc. to coderabbitai suggestions
VanshikaSabharwal Jan 20, 2025
852fc45
updated code acc. to coderabbitai suggestions
VanshikaSabharwal Jan 20, 2025
bbd21c0
updated code acc. to coderabbitai suggestions
VanshikaSabharwal Jan 20, 2025
af4f58f
updated code acc. to coderabbitai suggestions
VanshikaSabharwal Jan 20, 2025
af8f8b2
updated code acc. to coderabbitai suggestions
VanshikaSabharwal Jan 20, 2025
e718f45
updated code acc. to coderabbitai suggestions
VanshikaSabharwal Jan 20, 2025
d6789a4
set threshold to 39%
VanshikaSabharwal Jan 20, 2025
10ac35a
updated formatting to make all tests run
VanshikaSabharwal Jan 20, 2025
cb6090f
updated formatting to make all tests run
VanshikaSabharwal Jan 20, 2025
b7c499a
Update pull-request.yml
VanshikaSabharwal Jan 20, 2025
d077837
Update pull-request.yml
VanshikaSabharwal Jan 20, 2025
edd75c0
updated push-deploy-website.yml
VanshikaSabharwal Jan 21, 2025
05e7876
updated push-deploy-website.yml
VanshikaSabharwal Jan 21, 2025
1bf7115
Merge branch 'develop-postgres' of https://github.com/PalisadoesFound…
VanshikaSabharwal Jan 22, 2025
83a3072
added push.yml
VanshikaSabharwal Jan 22, 2025
71c8d06
added push.yml
VanshikaSabharwal Jan 22, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: Push Workflow for develop-postgres

on:
push:
branches:
- develop-postgres

VanshikaSabharwal marked this conversation as resolved.
Show resolved Hide resolved
jobs:
test-and-upload-coverage:
runs-on: ubuntu-latest

VanshikaSabharwal marked this conversation as resolved.
Show resolved Hide resolved
steps:
# Checkout the repository
- name: Checkout code
uses: actions/checkout@v3

# Install dependencies and run tests
- name: Run Tests and Upload Coverage to Codecov
run: |
pnpm install --frozen-lockfile
pnpm run test
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

VanshikaSabharwal marked this conversation as resolved.
Show resolved Hide resolved
# Upload coverage to Codecov
- name: Upload Coverage to Codecov
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
verbose: true
files: ./coverage/lcov.info
VanshikaSabharwal marked this conversation as resolved.
Show resolved Hide resolved
Loading