mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-19 16:15:16 +00:00
Merge pull request #313 from arc53/codecov-integration
Update pytest.yml
This commit is contained in:
1 file changed
+5
@@ -22,3 +22,8 @@ jobs:
|
|||||||
- name: Test with pytest and generate coverage report
|
- name: Test with pytest and generate coverage report
|
||||||
run: |
|
run: |
|
||||||
python -m pytest --cov=application --cov=scripts --cov=extensions --cov-report xml:/tmp/coverage.xml
|
python -m pytest --cov=application --cov=scripts --cov=extensions --cov-report xml:/tmp/coverage.xml
|
||||||
|
- name: Upload coverage reports to Codecov
|
||||||
|
uses: codecov/codecov-action@v3
|
||||||
|
env:
|
||||||
|
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
|
||||||
|
|
||||||
Reference in new issue
Block a user