feat(COVERPORT-22): add codecov integration for test coverage#676
feat(COVERPORT-22): add codecov integration for test coverage#676msu8 wants to merge 1 commit intokonflux-ci:mainfrom
Conversation
✅ Snyk checks have passed. No issues have been found so far.
💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse. |
Welcome to Codecov 🎉Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests. Thanks for integrating Codecov - We've got you covered ☂️ |
Add pytest-cov, configure GitHub Actions to upload coverage with unit-tests flag. Signed-off-by: daturece <daturece@redhat.com>
|
We've had issues with codecov in our other repos, I don't know if we should enable this until we investigate https://issues.redhat.com/browse/RELEASE-2238 |
Hi, It seems that the dependency update PRs are not running e2e-tests hence why the coverage fails. Could you please share more in #wg-code-coverage Slack - perhaps more teams are having similar issues too. |
Summary
pytest-covto dev dependencies and configure coverage settingsunit-testsflagcodecov.ymlwith flag analytics and PR comment configurationpushtrigger onmainbranch for baseline coverageSetup required
CODECOV_TOKEN](https://app.codecov.io/gh/konflux-ci/release-service-utils/config/general)as a repository secret in GitHub Settings → Secrets → Actions