mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-03 05:18:44 +00:00
fix(test): better test + cov
This commit is contained in:
1 parent
a83e68815a
commit
68cc646a3e
2 files changed
+27
-5
No files matched your search
@@ -21,7 +21,7 @@ jobs:
|
||||
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
|
||||
- name: Test with pytest and generate coverage report
|
||||
run: |
|
||||
python -m pytest --cov=application --cov=scripts --cov=extensions --cov-report=xml
|
||||
python -m pytest --cov=application --cov-report=xml
|
||||
- name: Upload coverage reports to Codecov
|
||||
if: github.event_name == 'pull_request' && matrix.python-version == '3.11'
|
||||
uses: codecov/codecov-action@v3
|
||||
|
||||
Reference in new issue
Block a user