Skip to content

Commit

Permalink
Renewed codecov.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
1c3t3a committed May 23, 2021
1 parent 45a1e49 commit eba6d62
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,6 @@ jobs:
id: buildx
uses: docker/setup-buildx-action@v1

- name: Install covfix
run: cargo install rust-covfix

- name: Build docker container
run: |
cd ci && docker build -t test_suite:latest .
Expand Down
18 changes: 8 additions & 10 deletions codecov.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,11 @@
coverage:
range: 50..90 # coverage lower than 50 is red, higher than 90 green, between color code

status:
project:
project: # settings affecting project coverage
default:
target: auto
threshold: 100%
paths:
- "src"
branches:
- main
if_ci_failed: ignore
informational: false
only_pulls: false
target: auto # auto % coverage target
threshold: 5% # allow for 5% reduction of coverage without failing

# do not run coverage on patch nor changes
patch: false

0 comments on commit eba6d62

Please sign in to comment.