diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 29846c2..d26385e 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -40,5 +40,5 @@ jobs: run: pytest -v tests/integration - name: Run E2E tests - if: ${{ github.event_name == 'workflow_dispatch' }} + if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} run: pytest -v tests/e2e