Skip to content

Commit

Permalink
trial run with codecov token
Browse files Browse the repository at this point in the history
  • Loading branch information
lilyminium committed May 26, 2024
1 parent e7023ad commit 31382d9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/gh-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,15 @@ jobs:
file: coverage.xml
name: codecov-${{ matrix.os }}-py${{ matrix.python-version }}
verbose: True
# to upload coverage reports, set a secret called CODECOV_TOKEN
# in the repository settings
# (Obtain this from the Codecov website after setting up the repository there)
token: {{ '${{ secrets.CODECOV_TOKEN }}' }}
# To fail the CI if there's an error, keep this set to true
# If repository forks need to run CI, you may need to set this to false
# Forks can't access the CODECOV_TOKEN secret,
# and a failed upload registers as an error
fail_ci_if_error: true


pylint_check:
Expand Down

0 comments on commit 31382d9

Please sign in to comment.