1
0
mirror of https://github.com/TomWright/dasel.git synced 2022-05-22 02:32:45 +03:00

Revert "Use coveralls instead of codecov"

This reverts commit bbb3721540.
This commit is contained in:
Tom Wright
2020-11-16 23:24:03 +00:00
parent bbb3721540
commit 6b3f0a91a8
2 changed files with 19 additions and 0 deletions

View File

@@ -26,3 +26,9 @@ jobs:
uses: coverallsapp/github-action@v1.1.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
- uses: codecov/codecov-action@v1
with:
token: ${{ secrets.CODECOV_TOKEN }} # not required for public repos
file: ./coverage.txt # optional
flags: unittests # optional
fail_ci_if_error: false # optional (default = false)

13
codecov.yaml Normal file
View File

@@ -0,0 +1,13 @@
comment: no # do not comment PR with the result
coverage:
range: 50..90 # coverage lower than 50 is red, higher than 90 green, between color code
status:
project: # settings affecting project coverage
default:
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