Skip to content

Commit

Permalink
Use GITHUB_TOKEN per coveralls 3.3.1 help
Browse files Browse the repository at this point in the history
Getting the following error

   Running on Github Actions but GITHUB_TOKEN is not set.
   Add "env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}" to
   your step config.
  • Loading branch information
jombr committed Mar 19, 2024
1 parent c70fbc1 commit 42ea74f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ jobs:
python -m pip install --upgrade pip
pip install coverage coveralls rply
- name: Test coverage
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: |
coverage run test.py
COVERALLS_REPO_TOKEN=${{ secrets.COVERALLS_REPO_TOKEN }} coveralls
coveralls --service=github

0 comments on commit 42ea74f

Please sign in to comment.