diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 7f50ff7c..ab4c0e86 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -49,19 +49,19 @@ jobs: - name: Run tests run: | - if [[ '$JOBTYPE' == 'lint' ]]; then + if [[ "$JOBTYPE" == "lint" ]]; then # Run flake8 via pre-commit instead. #- flake8 . # Use --exit-zero to ignore failure pre-commit install pre-commit run --all-files - elif [[ '$JOBTYPE' == 'coverage' ]]; then + elif [[ "$JOBTYPE" == "coverage" ]]; then pytest tests --ignore=dapper/mods/QG --cov=dapper --cov-report term-missing else pytest tests fi - name: Publish coverage to coveralls.io - if: ${{ env.JOBTYPE == 'coverage' }} + if: ${{ env.JOBTYPE == "coverage" }} env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} run: coveralls --service=github