Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: Do not post project coverage until it is valid
This fixes one issue with codecoverage, wherein the required project coverage would be posted after 2 finished CI-jobs. And since, our coverage is dependent upon both unit and coverage tests, posting the coverage too early actually means that codecov marks the required check as failed. This sets the number of required builds to 7. This is not a random number, but is taken from our CI-setup for Mender. The Pipeline right now looks similar to: 1 unit-test + 6 acceptance-tests = 7 Thus Codecov will not comment, or update the coverage status until all the coverage reports are uploaded, which will then provide a consistent coverage report, as opposed to the premature coverage which is not posted. Changelog: None Signed-off-by: Ole Petter <[email protected]>
- Loading branch information