Skip to content

Instantly share code, notes, and snippets.

@isabelatravaglia
Last active May 24, 2021 19:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isabelatravaglia/f248532e5a95549e70d742bf02b29398 to your computer and use it in GitHub Desktop.
Save isabelatravaglia/f248532e5a95549e70d742bf02b29398 to your computer and use it in GitHub Desktop.
GHA test workflow - docker-compose
version: '3.8'
services:
test:
image: ${TEST_IMAGE_TAG:-test}
environment:
HUB_URL: http://chrome:4444/wd/hub
PARALLEL_WORKERS: 1 # makes tests run sequentially instead of simultaneously
command: >
bash -c "rails test && rails test:system"
networks:
default:
external: true
name: ${SERVICES_NETWORK}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment