Repository navigation
ci: measure test coverage and report it to Codecov #826
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
a5e4293
ci: measure test coverage and report it to Codecov
vishal-bala 7b93f6f
docs: describe the service coverage flag and Dependabot uploads accur…
vishal-bala 2d5be63
ci: collect coverage from the nightly cluster tests
vishal-bala 4b781cc
docs: say manual runs measure every segment, and how carryforward pic…
vishal-bala c812cb8
ci: let re-run coverage jobs replace their earlier artifacts
vishal-bala 312bb98
ci: write repo-relative paths in the coverage XML
vishal-bala b29dc52
build: restore pytest-cov's entries in uv.lock
vishal-bala File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,37 @@ | ||
| # Coverage is reported, not enforced: both statuses are informational until | ||
| # we have enough history to choose a target. | ||
| # | ||
| # Each CI segment uploads under its own flag (see the `coverage` job in | ||
| # .github/workflows/test.yml): | ||
| # core every leg of the PR test matrix; skips the API-key tests | ||
| # service the full suite plus the API-key tests (`make test-all` on | ||
| # Python 3.11); fork PRs skip it, and Dependabot PRs upload | ||
| # nothing because they get no token | ||
| # cluster the `requires_cluster` tests, on the nightly schedule and manual | ||
| # runs only | ||
| # `service` and `cluster` are carried forward (individual_flags below): on a | ||
| # run that skips one, Codecov copies that flag from the nearest ancestor | ||
| # commit with a report for it. A new segment that PRs can skip needs its own | ||
| # entry there, plus a loop entry and an upload step in the `coverage` job in | ||
| # .github/workflows/test.yml. | ||
| coverage: | ||
| status: | ||
| project: | ||
| default: | ||
| informational: true | ||
| patch: | ||
| default: | ||
| informational: true | ||
|
|
||
| flag_management: | ||
| default_rules: | ||
| carryforward: false | ||
| individual_flags: | ||
| - name: service | ||
| carryforward: true | ||
| - name: cluster | ||
| carryforward: true | ||
|
|
||
| comment: | ||
| layout: "condensed_header, diff, flags" | ||
| require_changes: true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.