There was an error while loading. Please reload this page.
1 parent 7006390 commit 3f4187bCopy full SHA for 3f4187b
1 file changed
.github/workflows/tests.yml
@@ -49,19 +49,19 @@ jobs:
49
50
- name: Run tests
51
run: |
52
- if [[ '$JOBTYPE' == 'lint' ]]; then
+ if [[ "$JOBTYPE" == "lint" ]]; then
53
# Run flake8 via pre-commit instead.
54
#- flake8 . # Use --exit-zero to ignore failure
55
pre-commit install
56
pre-commit run --all-files
57
- elif [[ '$JOBTYPE' == 'coverage' ]]; then
+ elif [[ "$JOBTYPE" == "coverage" ]]; then
58
pytest tests --ignore=dapper/mods/QG --cov=dapper --cov-report term-missing
59
else
60
pytest tests
61
fi
62
63
- name: Publish coverage to coveralls.io
64
- if: ${{ env.JOBTYPE == 'coverage' }}
+ if: ${{ env.JOBTYPE == coverage }}
65
env:
66
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
67
run: coveralls --service=github
0 commit comments