Repository navigation
Report test-code coverage in CI - #709
Open
anshurajbisoyi98-ctrl wants to merge 1 commit into
Open
anshurajbisoyi98-ctrl wants to merge 1 commit into
anshurajbisoyi98-ctrl wants to merge 1 commit into
Conversation
Signed-off-by: Anshu Raj Bisoyi <anshurajbisoyi98@gmail.com>
This branch has not been deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
What problem do you want to solve?
Related to #564 and the coverage-reporting step requested in #571.
The CI coverage task currently measures only
src, and Codecov explicitly ignorestests. This change adds--cov=testsalongside--cov=srcand removes the test-directory exclusion from Codecov, making uncovered test helpers visible for review.This is the reporting step only. It does not remove test helpers, add coverage exclusions, enforce 100% test coverage, or resolve all of #564. Categorizing uncovered test code can follow once the full CI report is available.
Validation on macOS with Python 3.13:
tests/optimagic/test_decorators.pyandtests/optimagic/test_batch_evaluators.py).git diff --checkpassed.The full test suite and remote CI have not yet been verified.
Todo
AI assistance
Codex assisted with implementation and local verification, .