Skip to content
Snippets Groups Projects
Commit dcf95584 authored by Richard Smith-Unna's avatar Richard Smith-Unna
Browse files

Update README.md

parent 094b311e
No related branches found
No related tags found
No related merge requests found
...@@ -19,9 +19,11 @@ docker pull pubsweet/pubsweet-test-base ...@@ -19,9 +19,11 @@ docker pull pubsweet/pubsweet-test-base
gitlab-ci-multi-runner exec docker --docker-image=pubsweet/pubsweet-test-base test gitlab-ci-multi-runner exec docker --docker-image=pubsweet/pubsweet-test-base test
``` ```
Your `test` script inside .gitlab-ci.yml should look like this, if your tests use electron/nightmare: Your `test` script inside .gitlab-ci.yml should look like this:
``` ```
image: pubsweet/pubsweet-test-base
test: test:
script: script:
- xvfb-run --server-args "-screen 0 1024x768x24" npm run test - xvfb-run --server-args "-screen 0 1024x768x24" npm run test
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment