Skip to content

Commit

Permalink
task: skip coverage step if COVERALLS_REPO_TOKEN secret is undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
svaponi committed Jul 21, 2024
1 parent 415fb68 commit a0151d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ jobs:
run: |
poetry run coverage run -m pytest
- name: Coverage
if: ${{ secrets.COVERALLS_REPO_TOKEN_2 }}
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
COVERALLS_REPO_TOKEN_2: ${{ secrets.COVERALLS_REPO_TOKEN_2 }}
run: |
poetry run coveralls

0 comments on commit a0151d3

Please sign in to comment.