Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci(i): Upload code coverage even if some matrix jobs fail (sourcenetw…
…ork#2089) ## Relevant issue(s) Resolves sourcenetwork#2088 ## Description - Enable uploading whatever coverage reports we have (even if a matrix job failed). - Don't upload coverage reports if manually canceled the workflow/jobs. - Fix coverage reports that were overwritten because of OS name clashing (was uploading only 18 artifacts instead of 20). - Increase retention period to 7 days, for the coverage reports. For example: Currently windows build is flaky, and on a windows build failure it doesn't upload any code coverage reports to codecov. Before this PR the coverage upload job skips: https://github.com/sourcenetwork/defradb/actions/runs/7016532008/job/19088626645 ## Testing ### One Fail so 19 artifacts + Upload successful: Here is a test run to see this working in action: https://github.com/sourcenetwork/defradb/actions/runs/7018970859/attempts/1?pr=2089pr%3D2089 Note: even with 1 failure the build still uploads the report and the total artifact count is 19 (-1 due to windows failure). ### Passed with 20 artifacts + Upload successful: https://github.com/sourcenetwork/defradb/actions/runs/7018970859
- Loading branch information