Skip to content

Commit 807ca94

Browse files
committed
Remove obsolete calls
1 parent d9fe89e commit 807ca94

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

.github/scripts/test.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -130,17 +130,17 @@ case $1 in
130130
;;
131131

132132
test-image)
133-
node test/image/compare_pixels_test.mjs || { tar -cvf build/baselines.tar build/test_images/*.png ; exit 1 ; } || EXIT_STATE=$?
133+
node test/image/compare_pixels_test.mjs || EXIT_STATE=$?
134134
exit $EXIT_STATE
135135
;;
136136

137137
test-image-mathjax3)
138-
node test/image/compare_pixels_test.mjs mathjax3 || { tar -cvf build/baselines.tar build/test_images/*.png ; exit 1 ; } || EXIT_STATE=$?
138+
node test/image/compare_pixels_test.mjs mathjax3 || EXIT_STATE=$?
139139
exit $EXIT_STATE
140140
;;
141141

142142
test-image-virtual-webgl)
143-
node test/image/compare_pixels_test.mjs virtual-webgl || { tar -cvf build/baselines.tar build/test_images/*.png ; exit 1 ; } || EXIT_STATE=$?
143+
node test/image/compare_pixels_test.mjs virtual-webgl || EXIT_STATE=$?
144144
exit $EXIT_STATE
145145
;;
146146

.github/workflows/ci.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -279,8 +279,7 @@ jobs:
279279
merge-multiple: true
280280

281281
- name: Compare pixels
282-
run: .github/scripts/test.sh test-image ; find build -maxdepth 1 -type f -delete
283-
282+
run: .github/scripts/test.sh test-image
284283
- name: IMAGE DIFF DETECTED
285284
if: failure()
286285
run: |
@@ -336,8 +335,7 @@ jobs:
336335
merge-multiple: true
337336

338337
- name: Compare pixels
339-
run: .github/scripts/test.sh test-image ; find build -maxdepth 1 -type f -delete
340-
338+
run: .github/scripts/test.sh test-image
341339
- name: IMAGE DIFF DETECTED
342340
if: failure()
343341
run: |
@@ -393,8 +391,7 @@ jobs:
393391
merge-multiple: true
394392

395393
- name: Compare pixels
396-
run: .github/scripts/test.sh test-image-virtual-webgl ; find build -maxdepth 1 -type f -delete
397-
394+
run: .github/scripts/test.sh test-image-virtual-webgl
398395
- name: IMAGE DIFF DETECTED
399396
if: failure()
400397
run: |
@@ -499,8 +496,7 @@ jobs:
499496
path: build/
500497

501498
- name: Test export sizes
502-
run: node test/image/export_test.js ; find build -maxdepth 1 -type f -delete
503-
499+
run: node test/image/export_test.js
504500
- uses: actions/upload-artifact@v7
505501
if: failure()
506502
with:

0 commit comments

Comments
 (0)