Skip to content

Commit

Permalink
CI: Add CODECOV_TOKEN secret (#569)
Browse files Browse the repository at this point in the history
Starting from codecov-action@v4, Codecov requires setting up a CODECOV_TOKEN, otherwise the upload will fail. Note that forks don't require this token, only PRs from the original repo so forks don't need (and don't have) access to this token.

The global token is generated for aiidalab org at https://app.codecov.io/account/gh/aiidalab/org-upload-token
  • Loading branch information
danielhollas committed Feb 29, 2024
1 parent 63332a6 commit 4bf1ea8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,3 +146,4 @@ jobs:
uses: codecov/codecov-action@v4
with:
flags: python-${{ matrix.python-version }}
token: ${{ secrets.CODECOV_TOKEN }}

0 comments on commit 4bf1ea8

Please sign in to comment.