From 5fc1d14596c544c460ab76da03c94382b02a4d8d Mon Sep 17 00:00:00 2001 From: David de la Iglesia Castro Date: Mon, 16 Dec 2024 18:50:20 +0100 Subject: [PATCH] Run e2e tests on main push --- .github/workflows/tests.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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