File tree Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Expand file tree Collapse file tree 1 file changed +16
-0
lines changed Original file line number Diff line number Diff line change 70
70
--verbose \
71
71
--color=yes \
72
72
--cov=src \
73
+ --junitxml=junit.xml \
74
+ -o junit_family=legacy \
73
75
tests
74
76
77
+ - name : Upload test results to Codecov
78
+ # any except canceled or skipped
79
+ if : >-
80
+ always() &&
81
+ (steps.test.outcome == 'success' || steps.test.outcome == 'failure') &&
82
+ startsWith(github.repository, 'LizardByte/')
83
+ uses : codecov/test-results-action@v1
84
+ with :
85
+ fail_ci_if_error : true
86
+ files : junit.xml
87
+ token : ${{ secrets.CODECOV_TOKEN }}
88
+ verbose : true
89
+
75
90
- name : Upload coverage
76
91
# any except canceled or skipped
77
92
if : >-
82
97
with :
83
98
fail_ci_if_error : true
84
99
token : ${{ secrets.CODECOV_TOKEN }}
100
+ verbose : true
85
101
86
102
- name : Create/Update GitHub Release
87
103
if : >-
You can’t perform that action at this time.
0 commit comments