Skip to content

Commit f0d7a9a

Browse files
committed
Update codecov CI
1 parent e30b7f6 commit f0d7a9a

File tree

3 files changed

+6
-12
lines changed

3 files changed

+6
-12
lines changed

.github/workflows/master.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,3 @@ jobs:
88
uses: ThreeDotsLabs/watermill/.github/workflows/tests.yml@master
99
with:
1010
stress-tests: true
11-
codecov:
12-
runs-on: ubuntu-latest
13-
steps:
14-
- uses: actions/checkout@v4
15-
- uses: actions/setup-go@v4
16-
with:
17-
go-version: '^1.21.1'
18-
- run: make test_codecov
19-
- uses: codecov/codecov-action@v3

.github/workflows/pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ on:
33
pull_request:
44
jobs:
55
ci:
6-
uses: ThreeDotsLabs/watermill/.github/workflows/tests.yml@codeconv-pr
6+
uses: ThreeDotsLabs/watermill/.github/workflows/tests.yml@master

.github/workflows/tests.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ jobs:
4242
- run: make test_race
4343
- run: make test_stress
4444
if: ${{ inputs.stress-tests }}
45-
4645
codecov:
4746
runs-on: ubuntu-latest
4847
steps:
@@ -54,4 +53,8 @@ jobs:
5453
- run: make up
5554
- run: make wait
5655
- run: make test_codecov
57-
- uses: codecov/codecov-action@v3
56+
- uses: codecov/codecov-action@v4
57+
with:
58+
fail_ci_if_error: true
59+
files: ./coverage.out
60+
token: ${{ secrets.CODECOV_TOKEN }}

0 commit comments

Comments
 (0)