Skip to content

Commit

Permalink
Update acceptance.yml: Split into two jobs
Browse files Browse the repository at this point in the history
  • Loading branch information
ksuess committed Jun 17, 2024
1 parent 5505df1 commit 61834ad
Showing 1 changed file with 32 additions and 1 deletion.
33 changes: 32 additions & 1 deletion .github/workflows/acceptance.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ env:
PREPROCESSINGS_FILE: /configuration/preprocessings.json

jobs:
acceptance:
acceptance-monolingual:
runs-on: ubuntu-latest
timeout-minutes: 45
strategy:
Expand Down Expand Up @@ -58,6 +58,37 @@ jobs:
docker compose -f ci.yml --profile prod up
wait-on: 'npx wait-on --httpTimeout 20000 http-get://localhost:55001/plone http://localhost:3000 http://localhost:9200'

# Upload Cypress screenshots
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-screenshots-acceptance
path: acceptance/cypress/screenshots

# Upload Cypress videos
- uses: actions/upload-artifact@v4
if: failure()
with:
name: cypress-videos-acceptance
path: acceptance/cypress/videos

acceptance-multilingual:
runs-on: ubuntu-latest
timeout-minutes: 45
strategy:
fail-fast: false
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3

- name: Install Cypress
run: |
cd acceptance
yarn
- name: 'Cypress: Acceptance tests - multilingual'
uses: cypress-io/github-action@v6
env:
Expand Down

0 comments on commit 61834ad

Please sign in to comment.