Skip to content

Commit

Permalink
Devops: Fix the broken codecov upload (#39)
Browse files Browse the repository at this point in the history
Updated `codecov-action` and added a token to not get
hit by the rate limiter.
  • Loading branch information
sphuber authored May 30, 2024
1 parent 5d7d158 commit 4306bc9
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,9 @@ jobs:

- name: Upload coverage report
if: github.repository == 'aiidateam/pgsu'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: ubuntu-apt
file: ./coverage.xml
fail_ci_if_error: true
Expand Down Expand Up @@ -108,8 +109,9 @@ jobs:

- name: Upload coverage report
if: github.repository == 'aiidateam/pgsu'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: ubuntu-apt
file: ./coverage.xml
fail_ci_if_error: true
Expand Down Expand Up @@ -152,8 +154,9 @@ jobs:

- name: Upload coverage report
if: github.repository == 'aiidateam/pgsu'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: ubuntu-apt
file: ./coverage.xml
fail_ci_if_error: true
Expand Down Expand Up @@ -201,8 +204,9 @@ jobs:

- name: Upload coverage report
if: github.repository == 'aiidateam/pgsu'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: ubuntu-postgres-service
file: ./coverage.xml
fail_ci_if_error: true
Expand Down Expand Up @@ -285,8 +289,9 @@ jobs:

- name: Upload coverage report
if: github.repository == 'aiidateam/pgsu'
uses: codecov/codecov-action@v3
uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
name: "${{ matrix.os }}-conda"
file: ./coverage.xml
fail_ci_if_error: true

0 comments on commit 4306bc9

Please sign in to comment.