Skip to content

Commit

Permalink
test: add codecov.yml and revert the prev commit
Browse files Browse the repository at this point in the history
  • Loading branch information
jaybxyz committed Sep 24, 2021
1 parent a67abc1 commit e9381d3
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 6 deletions.
28 changes: 28 additions & 0 deletions .github/.codecov.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# To validate:
# cat codecov.yml | curl --data-binary @- https://codecov.io/validate

codecov:
notify:
require_ci_to_pass: yes

coverage:
precision: 2
round: down
range: "50...75"

status:
project:
default:
threshold: 1
unittest:
threshold: 1
only_pulls: true
flags:
- "unittest"
# Disable patch since it is noisy and not correct
patch:
default:
enabled: no
if_not_found: success

comment: false
6 changes: 0 additions & 6 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,12 +65,6 @@ jobs:
test-race:
runs-on: ubuntu-latest
timeout-minutes: 15
status:
# Disable patch since it is noisy and not correct
patch:
default:
enabled: no
if_not_found: success
steps:
- uses: actions/checkout@v2
- uses: actions/[email protected]
Expand Down

0 comments on commit e9381d3

Please sign in to comment.