# Getting the Github all checks pass green mark even if CodeCov decreased

**URL:** <https://discourse.julialang.org/t/getting-the-github-all-checks-pass-green-mark-even-if-codecov-decreased/74264>\
**Category:** General Usage\
**Tags:** testing, codecov, github, github-actions\
**Created:** [January 9, 2022, 2:00am UTC](https://discourse.julialang.org/t/getting-the-github-all-checks-pass-green-mark-even-if-codecov-decreased/74264 "2022-01-09T02:00:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![e3c6](https://avatars.discourse-cdn.com/v4/letter/e/e79b87/32.png) [@e3c6](https://discourse.julialang.org/u/e3c6)\
**Post date:** [January 9, 2022, 2:00am UTC](https://discourse.julialang.org/t/getting-the-github-all-checks-pass-green-mark-even-if-codecov-decreased/74264/1 "2022-01-09T02:00:15Z")

</div>

Is there a way to not make CodeCov decreases result in this red cross that Github displays? See figure for an example. All tests pass, documentation builds fine, but CodeCov coverage decreased by a few percent and now you get this ugly red cross on the Github repo page, instead of the nice green check mark. Is there a way to have Github ignore the CodeCov decrease when it decides whether to display a red cross or a green check mark?

![image](https://global.discourse-cdn.com/julialang/original/3X/4/1/412b09a4fe4dc58f6ddc947dc0ab08fcc4363f82.png)

(Actually in that figure there is still a running test, but ignore that).

---

<div class="post-metadata">

**Author:** ![bocklund](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bocklund/32/4983_2.png) [@bocklund](https://discourse.julialang.org/u/bocklund)\
**Post date:** [January 9, 2022, 8:35am UTC](https://discourse.julialang.org/t/getting-the-github-all-checks-pass-green-mark-even-if-codecov-decreased/74264/2 "2022-01-09T08:35:03Z")

</div>

You want to change the threshold, see the codecov docs: [Status Checks](https://docs.codecov.com/docs/commit-status)

---

<div class="post-metadata">

**Author:** ![halleysfifthinc](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/halleysfifthinc/32/206280_2.png) [@halleysfifthinc](https://discourse.julialang.org/u/halleysfifthinc)\
**Post date:** [January 10, 2022, 3:34pm UTC](https://discourse.julialang.org/t/getting-the-github-all-checks-pass-green-mark-even-if-codecov-decreased/74264/3 "2022-01-10T15:34:00Z")

</div>

Here is how I have CodeCov setup for my packages:

[.codecov.yml](https://github.com/halleysfifthinc/Peaks.jl/blob/c6f7a6a778c0b3329ae78b6d073acf6de252931b/codecov.yml):

```yaml
coverage:
  status:
    project:
      default:
        informational: true
    patch:
      default:
        informational: true
comment: false

```

I believe that the `informational` flag is what makes it a non-failing check.
