NatLabRockies / NatLabRockies/GridAnalysisToolkit

Add coverage measurement and Codecov reporting to CI

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.