Add Codecov integration for test results and coverage reports (#20)

This commit is contained in:
Jatin K Malik
2025-04-19 00:08:08 -05:00
committed by GitHub
parent 076ea78b4b
commit d1c3e286f1
+7 -1
View File
@@ -101,7 +101,13 @@ jobs:
run: |
source venv/bin/activate
# Make sure Python can find the 'src' module
PYTHONPATH=$PWD pytest --cov=src tests/
PYTHONPATH=$PWD pytest --junitxml=junit.xml --cov=src tests/
- name: Upload test results to Codecov
if: ${{ !cancelled() }}
uses: codecov/test-results-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }}
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5