Merge pull request #1947 from thecodingmachine/parallel-build

Using parallel build in end to end tests
This commit is contained in:
David Négrier 2022-03-07 19:02:18 +01:00 committed by GitHub
commit 7114be9a65
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,8 +23,10 @@ jobs:
run: npx playwright install --with-deps run: npx playwright install --with-deps
- name: 'Setup .env file' - name: 'Setup .env file'
run: cp .env.template .env run: cp .env.template .env
- name: Build WorkAdventure
run: docker-compose -f docker-compose.yaml -f docker-compose.e2e.yml build --parallel
- name: Start WorkAdventure - name: Start WorkAdventure
run: docker-compose -f docker-compose.yaml -f docker-compose.e2e.yml up -d --build run: docker-compose -f docker-compose.yaml -f docker-compose.e2e.yml up -d
- name: Wait for environment to Start - name: Wait for environment to Start
run: sleep 60 run: sleep 60
- name: Run Playwright tests - name: Run Playwright tests