ci: add test coverage enforcement to all library packages#41
Closed
rororowyourboat wants to merge 1 commit intomainfrom
Closed
ci: add test coverage enforcement to all library packages#41rororowyourboat wants to merge 1 commit intomainfrom
rororowyourboat wants to merge 1 commit intomainfrom
Conversation
There was a problem hiding this comment.
Pull request overview
This PR establishes consistent test coverage enforcement across all library packages in the gds-core monorepo by adding pytest-cov configuration with an 80% coverage threshold to match the existing standard in gds-framework.
Changes:
- Added pytest-cov>=6.0 as a dev dependency to four library packages
- Configured 80% coverage threshold with consistent settings across all packages
- Coverage enforcement is integrated into pytest via addopts (no CI workflow changes required)
Reviewed changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| packages/gds-viz/pyproject.toml | Adds pytest-cov dependency and configures 80% coverage for gds_viz package |
| packages/gds-stockflow/pyproject.toml | Adds pytest-cov dependency and configures 80% coverage for stockflow package |
| packages/gds-games/pyproject.toml | Adds pytest-cov dependency and configures 80% coverage for ogs package |
| packages/gds-control/pyproject.toml | Adds pytest-cov dependency and configures 80% coverage for gds_control package |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
cbeb66c to
805c783
Compare
805c783 to
ef8a3ce
Compare
3 tasks
Collaborator
Author
|
Superseded by #42 (combined merge branch) |
This was referenced Feb 27, 2026
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.
Summary
pytest-cov>=6.0to dev dependencies for gds-viz, gds-games, gds-stockflow, and gds-controlPackage coverage config
gdsgds_vizogsstockflowgds_controlTest plan