Skip to content

Commit

Permalink
Use COVERALLS_SERVICE_NAME environment variable (#230)
Browse files Browse the repository at this point in the history
  • Loading branch information
JeffLIrion committed Jan 16, 2021
1 parent 88dab23 commit 9a3021e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/python-package.yml
Expand Up @@ -38,6 +38,7 @@ jobs:
- name: Test with unittest
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
COVERALLS_SERVICE_NAME: github
run: |
if python --version 2>&1 | grep -q "Python 2" || python --version 2>&1 | grep -q "Python 3.5" || python --version 2>&1 | grep -q "Python 3.6" ; then for synctest in $(cd tests && ls test*.py | grep -v async); do python -m unittest discover -s tests/ -t . -p "$synctest" || exit 1; done; fi
if python --version 2>&1 | grep -q "Python 3.7" || python --version 2>&1 | grep -q "Python 3.8" || python --version 2>&1 | grep -q "Python 3.9"; then coverage run --source androidtv -m unittest discover -s tests/ -t . && coverage report -m && coveralls; fi

0 comments on commit 9a3021e

Please sign in to comment.