File tree Expand file tree Collapse file tree 1 file changed +8
-2
lines changed
Expand file tree Collapse file tree 1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change 6868
6969 - name : Test the mocked API endpoints with pytest
7070 run : |
71- pytest --only-mocked --overwrite-environ -v
71+ pytest --only-mocked --overwrite-environ -v --junitxml=junit.xml -o junit_family=legacy
7272
7373 - name : Test with pytest without mocking API enpoints
7474 env :
@@ -85,11 +85,17 @@ jobs:
8585
8686 TEST_CLASHOFCODE_PUBLIC_HANDLE : ${{ secrets.TEST_CLASHOFCODE_PUBLIC_HANDLE }}
8787 run : |
88- pytest --no-mocking --cov-append -v
88+ pytest --no-mocking --cov-append -v --junitxml=junit.xml -o junit_family=legacy
8989
9090 - name : Upload coverage to Codecov
9191 uses : codecov/codecov-action@v4
9292 with :
9393 fail_ci_if_error : true
9494 env :
9595 CODECOV_TOKEN : ${{ secrets.CODECOV_TOKEN }}
96+
97+ - name : Upload test results to Codecov
98+ if : ${{ !cancelled() }}
99+ uses : codecov/test-results-action@v1
100+ with :
101+ token : ${{ secrets.CODECOV_TOKEN }}
You can’t perform that action at this time.
0 commit comments