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