Skip to content

Instantly share code, notes, and snippets.

@CompuIves
Created February 21, 2018 20:31
Show Gist options
  • Save CompuIves/5038c43cf0926a29e8fa279ba2e82255 to your computer and use it in GitHub Desktop.
Save CompuIves/5038c43cf0926a29e8fa279ba2e82255 to your computer and use it in GitHub Desktop.
#!/bin/bash
docker run --rm --name test-container -v $(pwd):/home/circleci/codesandbox-client -w /home/circleci/codesandbox-client -d -t codesandbox/node-puppeteer yarn start:test && \
sleep 6 && docker exec -it test-container yarn test:integrations && \
docker stop test-container
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment