Skip to content

Commit

Permalink
Pass ./cypress.yml file to docker & split lines
Browse files Browse the repository at this point in the history
  • Loading branch information
Splines committed Jun 26, 2024
1 parent 9605075 commit 9ca2f1e
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,13 @@ jobs:
# As the docker-compose.yml file uses contexts like "./../..", we have
# to change the working directory here.
working-directory: docker/test
run: |
docker buildx bake -f ./docker-compose.yml -f ./cypress.yml -f ./../../.github/workflows/docker-compose-cache.json
run: >
docker buildx bake -f ./docker-compose.yml -f ./cypress.yml
-f ./../../.github/workflows/docker-compose-cache.json
- name: Run Cypress tests
working-directory: docker/test
run: |
docker compose run --entrypoint="" cypress sh -c "RAILS_ENV=test cypress run --project /mampf-tests/ --e2e --browser chrome"
run: >
docker compose -f ./docker-compose.yml -f ./cypress.yml
run --entrypoint="" cypress sh -c
"RAILS_ENV=test cypress run --project /mampf-tests/ --e2e --browser chrome"

0 comments on commit 9ca2f1e

Please sign in to comment.