Skip to content

Commit

Permalink
fix: Code Coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
balaji305 committed Nov 2, 2024
1 parent ce19901 commit 84341db
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
13 changes: 12 additions & 1 deletion .github/workflows/pytest.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,4 +44,15 @@ jobs:
run: |
cd ./backend
pwd
pytest --cov-report xml:cov.xml --cov=./ ./
pytest --doctest-modules --junitxml=junit/test-results.xml --cov=app --cov-report=xml --cov-report=html
- name: Upload coverage to Codecov
if: always()
uses: codecov/codecov-action@v3
with:
files: ./coverage.xml
flags: unittests
name: codecov-umbrella
fail_ci_if_error: false
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
![GitHub top language](https://img.shields.io/github/languages/top/CSC-510-G55/project1-ats)
[![Build](https://github.com/CSC-510-G55/project1-ats/actions/workflows/build.yml/badge.svg)](https://github.com/CSC-510-G55/project1-ats/actions/workflows/build.yml)
[![Pytest](https://github.com/CSC-510-G55/project1-ats/actions/workflows/pytest.yml/badge.svg)](https://github.com/CSC-510-G55/project1-ats/actions/workflows/pytest.yml)
[![Codecov](https://codecov.io/gh/CSC-510-G55/project1-ats/graph/badge.svg)](https://codecov.io/gh/CSC-510-G55/project1-ats)
[![Pylint](https://github.com/CSC-510-G55/project1-ats/actions/workflows/pylint.yml/badge.svg)](https://github.com/CSC-510-G55/project1-ats/actions/workflows/pylint.yml)
[![Prettier](https://github.com/CSC-510-G55/project1-ats/actions/workflows/prettier.yml/badge.svg)](https://github.com/CSC-510-G55/project1-ats/actions/workflows/prettier.yml)

Expand Down

0 comments on commit 84341db

Please sign in to comment.