Skip to content

Commit

Permalink
Set coveralls env vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Rowe authored and Josh Rowe committed Nov 2, 2019
1 parent df74566 commit 1babd8a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pythonpackage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,11 @@ jobs:
# exit-zero treats all errors as warnings. The GitHub editor is 127 chars wide
flake8 . --count --exit-zero --max-complexity=10 --max-line-length=127 --statistics
- name: Test with pytest
env:
COVERALLS_REPO_TOKEN=${{ secrets.github_token }}
COVERALLS_SERVICE_NAME=github
run: |
pip install pytest pytest-cov poetry boto3 moto coveralls
poetry install
pytest --cov=dataengineeringutils3 tests/ --cov-report xml
COVERALLS_SERVICE_NAME=github COVERALLS_REPO_TOKEN=${{ secrets.github_token }} coveralls --data-file ./coverage.xml
pytest --cov=dataengineeringutils3 tests/
coveralls

0 comments on commit 1babd8a

Please sign in to comment.