File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ jobs:
212212 PIP_USER : 1
213213 run : >-
214214 PATH="${HOME}/Library/Python/3.11/bin:${HOME}/.local/bin:${PATH}"
215- pytest
215+ pytest --junitxml=junit.xml
216216 shell : bash
217217 - name : Re-run the failing tests with maximum verbosity
218218 if : failure()
@@ -248,6 +248,12 @@ jobs:
248248 steps.python-install.outputs.python-version
249249 }}
250250 token : ${{ secrets.CODECOV_TOKEN }}
251+ - name : Upload test results to Codecov
252+ if : ${{ !cancelled() }}
253+ uses : codecov/test-results-action@v1
254+ with :
255+ fail_ci_if_error : true
256+ token : ${{ secrets.CODECOV_TOKEN }}
251257
252258 check : # This job does nothing and is only used for the branch protection
253259 if : always()
Original file line number Diff line number Diff line change @@ -165,7 +165,6 @@ junit_suite_name = aiohttp_test_suite
165165norecursedirs = dist docs build .tox .eggs
166166minversion = 3.8.2
167167testpaths = tests/
168- junit_family =xunit2
169168xfail_strict = true
170169markers =
171170 dev_mode: mark test to run in dev mode.
You can’t perform that action at this time.
0 commit comments