File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -73,21 +73,26 @@ jobs:
7373 run : |
7474 # run once to bootstrap database (test hack)
7575 uv run mpflash download --board RPI_PICO
76- uv run pytest --cov --cov-branch --cov-report=xml
76+ uv run pytest --cov --cov-branch --cov-report=xml --junitxml=results/junit.xml -o junit_family=legacy
7777
7878 # ----------------------------------------------
7979 # upload coverage stats
8080 # .XML to Codecov
8181 # ----------------------------------------------
8282
8383 - name : Upload coverage-mpflash-*.xml to Codecov
84- if : always () # ignore errors
84+ if : ${{ !cancelled () }}
8585 continue-on-error : true
8686 uses : codecov/codecov-action@v7
8787 with :
88- token : ${{ secrets.CODECOV_TOKEN }}
89- fail_ci_if_error : false
90- # file: results/coverage-mpflash-${{ matrix.python-version }}-${{ matrix.os }}.xml
91- # flags: mpflash
88+ token : ${{ secrets.CODECOV_TOKEN }}
89+ fail_ci_if_error : false
9290
91+ - name : Upload test results to Codecov
92+ if : ${{ !cancelled() }}
93+ uses : codecov/test-results-action@v1
94+ with :
95+ token : ${{ secrets.CODECOV_TOKEN }}
96+ files : results/junit.xml
97+ fail_ci_if_error : false
9398
You can’t perform that action at this time.
0 commit comments