Skip to content

Disable Codecov PR comments, keep coverage as workflow artifact - #466

Open
kowser-orkes wants to merge 2 commits into
mainfrom
ci/disable-codecov-comment
Open

Disable Codecov PR comments, keep coverage as workflow artifact#466
kowser-orkes wants to merge 2 commits into
mainfrom
ci/disable-codecov-comment

Conversation

@kowser-orkes

Copy link
Copy Markdown
Contributor

Pull Request type

  • Bugfix
  • Feature
  • Refactoring (no functional changes, no api changes)
  • Build related changes
  • WHOSUSING.md
  • Other (please describe):

Changes in this PR

Describe the new behavior from this PR, and why it's needed

  • stop Codecov from posting its coverage comment on every PR
  • keep project and patch coverage status checks enforced
  • upload coverage.xml and htmlcov as a workflow artifact so coverage detail is still viewable

Alternatives considered

Describe alternative implementation you have considered

  • keep the PR comment and just collapse it by default
  • drop the coverage artifact upload and rely on the Codecov status checks alone

- add codecov.yml, comment off, status checks stay on
- upload coverage.xml and htmlcov as a build artifact
- pytest emits junit xml per suite
- mikepenz/action-junit-report posts pass/fail counts as a check, no PR comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant