diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 84ba03cd..7e75fd41 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -39,7 +39,7 @@ jobs: isort . --check --verbose --only-modified --diff - name: Test run: | - if github.event_name == 'schedule'; then + if [ ${{ github.event_name }} == 'push']; then pytest --runslow ./tests else pytest --limit=1 ./tests