Skip to content

Commit

Permalink
Merge pull request #101 from asyncee/fix-coveralls-integration
Browse files Browse the repository at this point in the history
Fix coveralls integration / tox.ini: Take away GITHUB_ACTIONS from coveralls
  • Loading branch information
hartwork committed Feb 7, 2022
2 parents bceaa5a + 7405e26 commit dfb5cc3
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tox.ini
Expand Up @@ -31,9 +31,16 @@ deps =
commands =
coverage run --source easy_select2 -m py.test tests
coverage report -m
bash -c 'set -x; [[ $\{GITHUB_ACTIONS:-false\} = false ]] || coveralls'
bash -c 'set -x; [[ -z $\{COVERALLS_REPO_TOKEN\} ]] || coveralls'
setenv = {[base]setenv}
# not GITHUB_ACTIONS!
# not GITHUB_TOKEN!
passenv =
COVERALLS_REPO_TOKEN
GITHUB_*
GITHUB_HEAD_REF
GITHUB_REF
GITHUB_REPOSITORY
GITHUB_RUN_ID
GITHUB_RUN_NUMBER
GITHUB_SHA
allowlist_externals = bash

0 comments on commit dfb5cc3

Please sign in to comment.