Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1bd8f4e

Browse files
authored
chore: update codecov configuration (typescript-eslint#3072)
* chore: update codecov configuration * chore: correct Issue detecting commit SHA from codecov
1 parent 885780d commit 1bd8f4e

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

.codecov.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
codecov:
2+
require_ci_to_pass: no
3+
notify:
4+
wait_for_ci: no
5+
16
coverage:
27
status:
38
patch:
@@ -7,7 +12,7 @@ coverage:
712
default:
813
target: auto
914
threshold: 2%
15+
1016
comment:
1117
layout: diff, flags, files
1218
require_changes: true
13-

.github/workflows/ci.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,8 @@ jobs:
6060
runs-on: ubuntu-latest
6161
steps:
6262
- uses: actions/checkout@v2
63+
with:
64+
fetch-depth: 2
6365

6466
- name: echo github.ref
6567
run: echo ${{ github.ref }}
@@ -142,7 +144,6 @@ jobs:
142144
- name: Publish code coverage report
143145
uses: codecov/codecov-action@v1
144146
with:
145-
yml: ./codecov.yml
146147
token: ${{ secrets.CODECOV_TOKEN }}
147148
flags: unittest
148149
name: codecov

0 commit comments

Comments
 (0)