ci(config): run test in parallel
This commit is contained in:
parent
39d4bd48e8
commit
007973ecb6
|
@ -22,12 +22,10 @@ jobs:
|
||||||
background: true
|
background: true
|
||||||
- run: yarn wait-on http://localhost:8080 && yarn wait-on http://localhost:18232
|
- run: yarn wait-on http://localhost:8080 && yarn wait-on http://localhost:18232
|
||||||
- run: export DISPLAY=:99
|
- run: export DISPLAY=:99
|
||||||
- run:
|
|
||||||
command: xvfb-run --listen-tcp --server-num=99 --auth-file /tmp/xvfb.auth -s "-ac -screen 0 1024x768x24" yarn e2e:run && tmux send-keys -t E2ERecordSession1 q
|
|
||||||
background: true
|
|
||||||
- run: |
|
- run: |
|
||||||
tmux new-session -d -s E2ERecordSession1 'ffmpeg -f x11grab -video_size 1024x768 -i :99 -codec:v libx264 -r 12 /tmp/e2e-record.mp4'
|
xvfb-run --listen-tcp --server-num=99 --auth-file /tmp/xvfb.auth -s "-ac -screen 0 1024x768x24" yarn e2e:run & tmux new-session -d -s E2ERecordSession1 'ffmpeg -f x11grab -video_size 1024x768 -i :99 -codec:v libx264 -r 12 /tmp/e2e-record.mp4'
|
||||||
sleep 40
|
sleep 40
|
||||||
|
tmux send-keys -t E2ERecordSession1 'q'
|
||||||
- store_artifacts:
|
- store_artifacts:
|
||||||
path: /tmp/e2e-record.mp4
|
path: /tmp/e2e-record.mp4
|
||||||
destination: e2e-record.mp4
|
destination: e2e-record.mp4
|
||||||
|
|
|
@ -4778,9 +4778,9 @@ create-react-context@^0.2.2, create-react-context@^0.2.3:
|
||||||
fbjs "^0.8.0"
|
fbjs "^0.8.0"
|
||||||
gud "^1.0.0"
|
gud "^1.0.0"
|
||||||
|
|
||||||
"create-test-server@https://github.com/georgelima/create-test-server":
|
create-test-server@georgelima/create-test-server:
|
||||||
version "2.4.0"
|
version "2.4.0"
|
||||||
resolved "https://github.com/georgelima/create-test-server#0f4133ca2d53f7084f34e77ca72536890614c96a"
|
resolved "https://codeload.github.com/georgelima/create-test-server/tar.gz/0f4133ca2d53f7084f34e77ca72536890614c96a"
|
||||||
dependencies:
|
dependencies:
|
||||||
body-parser "^1.18.2"
|
body-parser "^1.18.2"
|
||||||
create-cert "^1.0.2"
|
create-cert "^1.0.2"
|
||||||
|
|
Loading…
Reference in New Issue