Skip to content

Commit a47c398

Browse files
authored
Merge pull request #5650 from plotly/reduce-image-test-artifacts
Reduce unnecessary artifacts during image test
2 parents c79cd9f + 3ffa600 commit a47c398

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ jobs:
9393
npm run docker -- setup
9494
- run:
9595
name: Run image tests (part A)
96-
command: ./.circleci/test.sh stable-image
96+
command: ./.circleci/test.sh stable-image ; find build -maxdepth 1 -type f -delete
9797
- store_artifacts:
9898
path: build
9999
destination: /

test/image/compare_pixels_test.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -270,6 +270,7 @@ function comparePixels(mockName, cb) {
270270
}
271271
if(isEqual) {
272272
fs.unlinkSync(imagePaths.diff);
273+
fs.unlinkSync(imagePaths.test);
273274
}
274275

275276
cb(isEqual, mockName);

0 commit comments

Comments
 (0)