Skip to content

Commit

Permalink
Actions: Restore coveralls
Browse files Browse the repository at this point in the history
  • Loading branch information
hartwork committed Dec 23, 2021
1 parent 2326346 commit dc8d75a
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/run_tox.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,3 +42,7 @@ jobs:
function join_by { local IFS="$1"; shift; echo "$*"; }
tox_envs=( $(tox --listenvs | fgrep "py${python_version_without_dot}-") )
tox -e "$(join_by ',' "${tox_envs[@]}")"
env:
# NOTE: For releted docs, see
# https://github.com/marketplace/actions/coveralls-github-action#inputs
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
7 changes: 7 additions & 0 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,14 @@ deps =
{[base]deps}
django==3.0
coverage
coveralls
commands =
coverage run --source easy_select2 -m py.test tests
coverage report -m
bash -c 'set -x; [[ $\{GITHUB_ACTIONS:-false\} = false ]] || coveralls --service=github'
setenv = {[base]setenv}
passenv =
GITHUB_ACTIONS
GITHUB_REF
GITHUB_TOKEN
allowlist_externals = bash

0 comments on commit dc8d75a

Please sign in to comment.