File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed
project_name/.github/workflows Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -161,12 +161,17 @@ jobs:
161161 run: uv pip list
162162 - name: Run tests
163163 if: ${{ success() && steps.install_packages.outcome == 'success' }}
164- run: uv run --no-sync pytest --cov-branch --cov-report=xml
164+ run: uv run --no-sync pytest --cov-branch --cov-report=xml --junitxml=junit.xml
165165 - name: Upload coverage reports to Codecov
166166 if: ${{ success() && steps.install_packages.outcome == 'success' }}
167167 uses: codecov/codecov-action@v5
168168 with:
169169 token: ${{ secrets.CODECOV_TOKEN }}
170+ - name: Upload test results to Codecov
171+ if: ${{ !cancelled() }}
172+ uses: codecov/test-results-action@v1
173+ with:
174+ token: ${{ secrets.CODECOV_TOKEN }}
170175 {% - endraw %}
171176
172177 pylint:
You can’t perform that action at this time.
0 commit comments