Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit dfcb720

Browse files
committed
test software rendering on CI
1 parent 2009f09 commit dfcb720

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

.circleci/config.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -110,6 +110,21 @@ jobs:
110110
path: build
111111
destination: /
112112

113+
test-image-orca:
114+
docker:
115+
- image: antoinerg/orca-reproducible:latest
116+
working_directory: ~/plotly.js
117+
steps:
118+
- checkout
119+
- attach_workspace:
120+
at: ~/plotly.js
121+
- run:
122+
name: Run image tests
123+
command: ./.circleci/orca_generate.sh
124+
- store_artifacts:
125+
path: build
126+
destination: /
127+
113128
test-syntax:
114129
docker:
115130
- image: circleci/node:10.9.0

.circleci/orca_generate.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
#!/usr/bin/env bash
2+
3+
cd build/test_images
4+
ls ../../test/image/mocks/*.json | awk '!/mapbox/' | shuf | xargs -P1 -n20 xvfb-run -a orca graph --verbose

0 commit comments

Comments
 (0)