Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add coverage reports on all test runs #6558

Merged
merged 7 commits into from
Apr 15, 2024

Conversation

MathieuLamiot
Copy link
Contributor

No description provided.

Merge test reports before sending to Codacy
Fix failing code_coverage action
@MathieuLamiot MathieuLamiot self-assigned this Apr 15, 2024
@MathieuLamiot
Copy link
Contributor Author

@Tabrisrp I noticed the code_coverage action was broken, probably due to new WP latest version. With Q2 OKRs, we'll keep focusing on built-in tests and I am looking into measuring code coverage (mostly diff code coverage, so code coverage only on the modified lines per PR). I think this CI refacto is needed to:

  • Get code coverage on unit & integration tests (we only had unit)
  • Keep the CI fast: coverage report on all integration tests took >30 min. So here it runs only on the "general" tests
  • Get code coverage for more PRs, not only the ones to develop.

Let me know what you think

Copy link

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for 5b2f58a1 (target: 50.00%)
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (5b2f58a) Report Missing Report Missing Report Missing
Head commit (6e3af9e) 35929 8356 23.26%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#6558) 0 0 ∅ (not applicable)

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

You may notice some variations in coverage metrics with the latest Coverage engine update. For more details, visit the documentation

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

@remyperona remyperona added this pull request to the merge queue Apr 15, 2024
Merged via the queue into develop with commit a73a123 Apr 15, 2024
13 checks passed
@remyperona remyperona deleted the test/coverage-report-for-all-prs branch April 15, 2024 19:25
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.

2 participants