Skip to content

Commit

Permalink
ci: codecov issue (#170)
Browse files Browse the repository at this point in the history
  • Loading branch information
superical authored Apr 17, 2024
1 parent 8b04996 commit 6bd38f4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
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
secrets:
codecov_token: ${{ secrets.CODECOV_TOKEN }}

linters:
name: Linters
Expand Down
6 changes: 5 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
on:
workflow_call:
secrets:
codecov_token:
required: true

name: "Tests"

Expand Down Expand Up @@ -45,7 +48,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: true
verbose: true
token: ${{ secrets.codecov_token }}

0 comments on commit 6bd38f4

Please sign in to comment.