NatLabRockies / NatLabRockies/GridAnalysisToolkit
Add coverage measurement and Codecov reporting to CI
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 1
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
CI runs pytest but doesn't measure coverage. Add pytest-cov to the test job, upload to Codecov, and add the badge to the README (deliberately deferred from the initial badge set).
Note: the Plexos-backed tests skip in CI because PLEXOS solution fixtures are proprietary (see tests/conftest.py fixture resolution), so raw coverage will under-report those paths. Worth deciding whether to report line coverage as-is or exclude the fixture-gated modules from the target.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the CI test job that runs pytest, then read tests/conftest.py to understand the proprietary-fixture skips and inspect the README badge section. Add coverage measurement and Codecov reporting, add the coverage badge, and document or apply the chosen treatment for fixture-gated modules; verify the CI report and badge behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- github-actions, python
- Domain
- ci-cd, documentation, testing
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 55/100