diff --git a/.github/workflows/pytest.yml b/.github/workflows/pytest.yml index ad85d076..470bd362 100644 --- a/.github/workflows/pytest.yml +++ b/.github/workflows/pytest.yml @@ -44,13 +44,13 @@ jobs: run: | cd ./backend pwd - pytest --doctest-modules --junitxml=junit/test-results.xml --cov=app --cov-report=xml --cov-report=html + pytest --cov --cov-report=xml:coverage.xml - name: Upload coverage to Codecov if: always() uses: codecov/codecov-action@v3 with: - files: ./coverage.xml + files: ./backend/coverage.xml flags: unittests name: codecov-umbrella fail_ci_if_error: false diff --git a/readme.md b/readme.md index de1a9753..c2c8bcf0 100644 --- a/readme.md +++ b/readme.md @@ -1,6 +1,6 @@ [![GitHub license](https://img.shields.io/github/license/CSC-510-G55/project1-ats)](https://github.com/CSC-510-G55/project1-ats/blob/project2/LICENSE) [![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.14026597.svg)](https://doi.org/10.5281/zenodo.14026597) -[![codecov](https://codecov.io/gh/CSC-510-G55/project1-ats/branch/project2/graph/badge.svg)](https://codecov.io/gh/CSC-510-G55/project1-ats) +[![codecov](https://codecov.io/gh/CSC-510-G55/project1-ats/graph/badge.svg?token=6YDFK41GU0)](https://codecov.io/gh/CSC-510-G55/project1-ats) ![GitHub issues](https://img.shields.io/github/issues/CSC-510-G55/project1-ats) ![GitHub issues](https://img.shields.io/github/issues-closed/CSC-510-G55/project1-ats) ![GitHub top language](https://img.shields.io/github/languages/top/CSC-510-G55/project1-ats)