Skip to content

Commit

Permalink
Run shorter suite of tests on PR and the longer one on push (#4156)
Browse files Browse the repository at this point in the history
  • Loading branch information
wozniakpl authored Aug 21, 2024
1 parent 8726ef1 commit 90398c3
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 90398c3

Please sign in to comment.