From a9ab2e398406227725c671745eb942ea14397247 Mon Sep 17 00:00:00 2001 From: George Lima Date: Thu, 24 Jan 2019 18:35:54 -0300 Subject: [PATCH] ci(config): add ffmpeg record and store_artifacts --- .circleci/config.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index f147aac..656ab98 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -21,7 +21,10 @@ jobs: command: yarn e2e:serve background: true - run: yarn wait-on http://localhost:8080 && yarn wait-on http://localhost:18232 - - run: xvfb-run -a yarn e2e:run + - run: xvfb-run --listen-tcp --server-num 44 --auth-file /tmp/xvfb.auth -s "-ac -screen 0 1920x1080x24" yarn e2e:run & export DISPLAY=:44 && ffmpeg -f x11grab -video_size 1920x1080 -i :44 -codec:v libx264 -r 12 e2e-record.mp4 + - store_artifacts: + path: ./e2e-record.mp4 + destination: e2e-record.mp4 workflows: version: 2 test: