From 90398c3649c1929f203fc40f3bd7b6a96b460691 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartosz=20Wo=C5=BAniak?= <17177420+wozniakpl@users.noreply.github.com> Date: Wed, 21 Aug 2024 13:41:35 +0200 Subject: [PATCH] Run shorter suite of tests on PR and the longer one on push (#4156) --- .github/workflows/ci.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 02d68ceaa4..6f07b773fb 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -253,8 +253,12 @@ jobs: - name: E2E tests run: | + compose_file=./deployment/docker-compose.selenium-night.yml + if [ "${{ github.event_name }}" = "pull_request" ]; then + compose_file=./deployment/docker-compose.selenium.yml + fi dist_backend_image=${{ vars.DOCKERHUB_ORGANIZATION }}/hope-support-images:core-${{ github.sha }}-dist dev_backend_image=${{ vars.DOCKERHUB_ORGANIZATION }}/hope-support-images:core-${{ github.sha }}-dev docker compose \ - -f ./deployment/docker-compose.selenium.yml \ + -f $compose_file \ run selenium - name: Upload Artifact uses: actions/upload-artifact@v4