Run publish script tests in Debug and Release
Forgot the Release tests didn't cover Chrome debug mode.
This commit is contained in:
parent
395f241f72
commit
72675f6658
|
@ -64,10 +64,12 @@ git fetch origin || die 'Failed to fetch from git origin.'
|
||||||
|
|
||||||
# Run all tests that must pass before publishing.
|
# Run all tests that must pass before publishing.
|
||||||
for test in eslint jsdoc realmjs react-example react-tests react-tests-android; do
|
for test in eslint jsdoc realmjs react-example react-tests react-tests-android; do
|
||||||
echo "RUNNING TEST: $test"
|
for configuration in Debug Release; do
|
||||||
|
echo "RUNNING TEST: $test ($configuration)"
|
||||||
echo '----------------------------------------'
|
echo '----------------------------------------'
|
||||||
npm test "$test" Release || die "Test Failed: $test"
|
npm test "$test" "$configuration" || die "Test Failed: $test ($configuration)"
|
||||||
echo
|
echo
|
||||||
|
done
|
||||||
done
|
done
|
||||||
|
|
||||||
# Double check before actually publishing.
|
# Double check before actually publishing.
|
||||||
|
|
Loading…
Reference in New Issue