Skip to content

Commit

Permalink
Update codecov CI
Browse files Browse the repository at this point in the history
  • Loading branch information
m110 committed Oct 18, 2024
1 parent e30b7f6 commit f0d7a9a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
9 changes: 0 additions & 9 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,3 @@ jobs:
uses: ThreeDotsLabs/watermill/.github/workflows/tests.yml@master
with:
stress-tests: true
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-go@v4
with:
go-version: '^1.21.1'
- run: make test_codecov
- uses: codecov/codecov-action@v3
2 changes: 1 addition & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ on:
pull_request:
jobs:
ci:
uses: ThreeDotsLabs/watermill/.github/workflows/tests.yml@codeconv-pr
uses: ThreeDotsLabs/watermill/.github/workflows/tests.yml@master
7 changes: 5 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,6 @@ jobs:
- run: make test_race
- run: make test_stress
if: ${{ inputs.stress-tests }}

codecov:
runs-on: ubuntu-latest
steps:
Expand All @@ -54,4 +53,8 @@ jobs:
- run: make up
- run: make wait
- run: make test_codecov
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: true
files: ./coverage.out
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit f0d7a9a

Please sign in to comment.