Skip to content

Commit

Permalink
ci: codecov issue
Browse files Browse the repository at this point in the history
  • Loading branch information
superical committed Apr 16, 2024
1 parent 8061273 commit 428d509
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/pull_requests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ jobs:
tests:
name: Tests
uses: ./.github/workflows/tests.yml
with:
codecov_token: ${{ secrets.CODECOV_TOKEN }}

linters:
name: Linters
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
on:
workflow_call:
inputs:
codecov_token:
required: true
type: string

name: "Tests"

Expand Down Expand Up @@ -45,7 +49,8 @@ jobs:
uses: actions/download-artifact@v3
with:
name: test-coverage
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
fail_ci_if_error: false
fail_ci_if_error: true
verbose: true
token: ${{ inputs.codecov_token }}

0 comments on commit 428d509

Please sign in to comment.