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 68
68
69
69
- name : Test the mocked API endpoints with pytest
70
70
run : |
71
- pytest --only-mocked --overwrite-environ -v
71
+ pytest --only-mocked --overwrite-environ -v --junitxml=junit.xml -o junit_family=legacy
72
72
73
73
- name : Test with pytest without mocking API enpoints
74
74
env :
@@ -85,11 +85,17 @@ jobs:
85
85
86
86
TEST_CLASHOFCODE_PUBLIC_HANDLE : ${{ secrets.TEST_CLASHOFCODE_PUBLIC_HANDLE }}
87
87
run : |
88
- pytest --no-mocking --cov-append -v
88
+ pytest --no-mocking --cov-append -v --junitxml=junit.xml -o junit_family=legacy
89
89
90
90
- name : Upload coverage to Codecov
91
91
uses : codecov/codecov-action@v4
92
92
with :
93
93
fail_ci_if_error : true
94
94
env :
95
95
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