Skip to content

Commit e52f020

Browse files
committed
add no_citest script
- to make it easier to run tests that are skipped on CI and easier to document.
1 parent dbc6ca1 commit e52f020

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

tasks/noci_test.sh

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
#! /bin/bash
2+
3+
EXIT_STATE=0
4+
5+
# tests that aren't run on CI
6+
7+
# jasmine specs with @noCI tag
8+
npm run citest-jasmine -- tests/*_test.js --tags noCI || EXIT_STATE=$?
9+
10+
# mapbox image tests take too much resources on CI
11+
npm run test-image -- mapbox_* || EXIT_STATE=$?
12+
13+
# run gl2d image test again (some mocks are skipped on CI)
14+
npm run test-image-gl2d || EXIT_STATE=$?
15+
16+
exit $EXIT_STATE

0 commit comments

Comments
 (0)