Conversation
Merging this branch will not change overall coverage
Coverage by fileChanged files (no unit tests)
Please note that the "Total", "Covered", and "Missed" counts above refer to code statements instead of lines of code. The value in brackets refers to the test coverage of that file in the old version of the code. |
There was a problem hiding this comment.
how about adding a parameter to maker yaml for retention-days so that if specified it can generate something like below?
It would save some resources on GHE especially considering the amount of Renovate PRs that get open and re-run due to rebase on merge to default branch? These results likely will not change from the actual code merge on main.
- name: Archive code coverage results
uses: actions/upload-artifact@v2
with:
name: code-coverage
path: build/cover.out
retention-days: 7
if-no-files-found: ignore
I'm already frustrated with the absurd amount of configuration options that we had to add over time, so I want to avoid that if possible. If retention is a problem on GHE, then we should set the shorter retention based on |
If the artifact is garbage collected, then PRs fail to generate coverage. The artifact is usually not even 1 MB big, so it shouldn't really be an issue. |
Tested on an internal project
