Skip to content

Commit 0b3ae0d

Browse files
committed
move schema diff test to publish-dist container for early failure
1 parent 4b238c4 commit 0b3ae0d

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

.circleci/config.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -242,6 +242,9 @@ jobs:
242242
echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/dist/plotly.js
243243
echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/dist/plotly.min.js
244244
echo https://$CIRCLE_BUILD_NUM-$PROJECT_NUM-gh.circle-artifacts.com/0/dist/plot-schema.json
245+
- run:
246+
name: Test plot-schema.json diff - If failed, after (npm start) you could run (npm run schema && git add test/plot-schema.json && git commit -m "update plot-schema diff")
247+
command: diff --unified --color dist/plot-schema.json test/plot-schema.json
245248
- persist_to_workspace:
246249
root: ~/
247250
paths:
@@ -254,9 +257,6 @@ jobs:
254257
steps:
255258
- attach_workspace:
256259
at: ~/
257-
- run:
258-
name: Test plot-schema.json diff - If failed, after (npm start) you could run (npm run schema && git add test/plot-schema.json && git commit -m "update plot-schema diff")
259-
command: diff --unified --color dist/plot-schema.json test/plot-schema.json
260260
- run:
261261
name: Test plotly.min.js import using requirejs
262262
command: npm run test-requirejs

0 commit comments

Comments
 (0)