Skip to content

Commit

Permalink
github-actions: Do not check for GITHUB_TOKEN env var when uploading …
Browse files Browse the repository at this point in the history
…coveralls results (#2163)

Signed-off-by: Jan Vesely <jan.vesely@rutgers.edu>
  • Loading branch information
jvesely authored Oct 29, 2021
1 parent 1d98cde commit 34d67c1
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/pnl-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,8 +101,7 @@ jobs:
env:
COVERALLS_REPO_TOKEN: ${{ secrets.COVERALLS_REPO_TOKEN }}
run: |
# We need both coveralls and github tokens
if [ -n "$COVERALLS_REPO_TOKEN" -a -n "$GITHUB_TOKEN" ]; then
if [ -n "$COVERALLS_REPO_TOKEN" ]; then
pip install coveralls
coveralls
else
Expand Down

0 comments on commit 34d67c1

Please sign in to comment.