Skip to content

Commit

Permalink
fix(ci): use GitHub actions to check for COVERALLS token
Browse files Browse the repository at this point in the history
  • Loading branch information
msiemens committed Nov 26, 2022
1 parent 50c3a1d commit be437af
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/ci-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,8 @@ jobs:
twine check dist/*
if: ${{ contains(matrix.python-version, '3.10') }}
- name: Upload coverage result
if: ${{ env.COVERALLS_REPO_TOKEN != 'windows-latest' }}
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
if [ -n "${COVERALLS_REPO_TOKEN}" ]; then
poetry run coveralls
fi
poetry run coveralls

0 comments on commit be437af

Please sign in to comment.