codecov status badge is affected by coverage of unmerged PRs

Open
#2,053 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
python
Domain
ci-cd, testing-qa

Research direction

Start by reviewing the repository's Codecov and CI configuration, then trace how coverage results from pull requests are reported for the master branch. Confirm the badge is based only on merged master coverage, and verify it no longer drops when an unmerged PR has incomplete or lower coverage.

Written by the indexing model from the issue text.

Description

Description of issue

We have an unmerged PR being used to determined the latest codecov status of our master branch.
image

image

I noticed this because the system tests hadn't yet run and our status badge showed coverage as having dropped all the way to 82%.

Dominant language
Python
Stars
128
Forks
110
Avg merge
5d 14h
Merged PRs (30d)
10

Contributor guide

Open the contributing guide

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.

More from ni/nimi-python

All issues in ni/nimi-python

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.