Description
I have the codecov/project and codecov/patch status
set as required for protected branches in GitHub.
I have tried every combination of the codecov.yml
settings to achieve the following:
- If for a given commit coverage is uploaded
all codecov checks must pass. If no coverage
is uploaded the status checks should be set
to “success” automatically. (IE. updating docs, README, etc).
In the codecov.yml reference
it says about the “if_not_found” setting:
" success
: the status will pass if there is no report for the head. Use this on commits / PRs where you won’t be uploading coverage but still want codecov status checks to pass. "
So what I’m expecting is that codecov status checks
are set to success if no coverage is uploaded after
all actions are run. However, its always stays stuck
at "Expected — Waiting for status to be reported "
I’m thinking that maybe it has something to
do with “skipped” actions not being recognized as
completed.
CI/CD URL
Codecov Output
No output. Uploading coverage is skipped for
changes outside of src/*.php
Expected Results
codcov/project and codecov/patch
should be set to true in the linked PR.
Actual Results
codcov/project and codecov/patch
are stuck waiting for a status to be reported.
Additional Information
This is the codecov.yml currently used for this PR.
But I tried every other imaginable combination.