Skip to content

Commit c882109

Browse files
authored
chore(codecov): add pr comment for codecov (#7)
* chore(codecov): add pr comment for codecov * chore(codecov): add pr comment for codecov
1 parent 2280ff0 commit c882109

File tree

3 files changed

+13
-2
lines changed

3 files changed

+13
-2
lines changed

.codecov.yml

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
comment:
2+
layout: "reach, diff, flags, files"
3+
behavior: default
4+
require_changes: false # if true: only post the comment if coverage changes
5+
require_base: no # [yes :: must have a base report to post]
6+
require_head: yes # [yes :: must have a head report to post]

.github/codecov-upstream.yml

+6-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,9 @@ codecov:
88

99
token: af60ae97-cdc9-462c-97ef-d38740f66e0c
1010

11-
comment: off
11+
comment:
12+
layout: "reach, diff, flags, files"
13+
behavior: default
14+
require_changes: false # if true: only post the comment if coverage changes
15+
require_base: no # [yes :: must have a base report to post]
16+
require_head: yes # [yes :: must have a head report to post]

.github/workflows/workflows.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
if: success() && github.repository == 'algorithm101/gorithm'
4646
run: cp .github/codecov-upstream.yml .codecov.yml
4747
- name: Upload Coverage report to CodeCov
48-
uses: codecov/codecov-action@v1.0.0
48+
uses: codecov/codecov-action@v1
4949
with:
5050
token: ${{ secrets.CODECOV_TOKEN }}
5151
file: ./coverage.out

0 commit comments

Comments
 (0)