File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 7373 id : test
7474 uses : ./ci/github-actions/arch-run
7575 with :
76- command : cargo install cargo-tarpaulin; cargo tarpaulin --engine llvm --out Xml
76+ command : |
77+ cargo install cargo-junit cargo-tarpaulin
78+ cargo tarpaulin --engine llvm --out Xml
79+ cargo junit --name junit.xml
80+
81+ # debug junit.xml
82+ echo "junit.xml:"
83+ cat junit.xml
84+
85+ - name : Upload test results to Codecov
86+ # any except canceled or skipped
87+ if : >-
88+ always() &&
89+ (steps.test.outcome == 'success' || steps.test.outcome == 'failure') &&
90+ startsWith(github.repository, 'LizardByte/')
91+ uses : codecov/test-results-action@v1
92+ with :
93+ disable_search : true
94+ fail_ci_if_error : true
95+ files : junit.xml
96+ handle_no_reports_found : true
97+ token : ${{ secrets.CODECOV_TOKEN }}
98+ verbose : true
7799
78100 - name : Upload coverage
79101 # any except canceled or skipped
You can’t perform that action at this time.
0 commit comments