File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -44,14 +44,21 @@ jobs:
4444 python -m pip install -U -r requirements/testing.txt
4545
4646 - name : Run Unit tests
47- run : pytest -p no:qgis tests/unit/
47+ run : pytest -p no:qgis tests/unit/ -o junit_family=legacy --junitxml=junit.xml
48+
49+ - name : Upload test results to Codecov
50+ if : ${{ !cancelled() }}
51+ uses : codecov/test-results-action@v1
52+ with :
53+ token : ${{ secrets.CODECOV_TOKEN }}
4854
4955 - name : Upload coverage to Codecov
5056 uses : codecov/codecov-action@v5
5157 with :
52- env_vars : PYTHON
58+ env_vars : PYTHON_VERSION
5359 flags : unittests
5460 name : Code Coverage for unittests on Ubuntu.python-${{ env.PYTHON_VERSION }}]
61+ token : ${{ secrets.CODECOV_TOKEN }}
5562
5663 test-qgis :
5764 runs-on : ubuntu-latest
8996 python3 -m pip install -U -r requirements/testing.txt
9097
9198 - name : Run Unit tests
92- run : pytest tests/qgis --junitxml=junit/test-results-qgis.xml --cov-report=xml:coverage-reports/coverage-qgis .xml
99+ run : pytest tests/qgis -o junit_family=legacy --junitxml=junit .xml
93100
94101 - name : Upload coverage to Codecov
95102 uses : codecov/codecov-action@v5
103+ with :
104+ env_vars : PYTHON_VERSION
105+ flags : qgis-tests
106+ name : Code Coverage for QGIS tests
107+ token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments