Skip to content

Commit 7ce49d2

Browse files
committed
Simplify docker test script
1 parent 6318d75 commit 7ce49d2

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

script/testing-docker/entrypoint.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
#!/bin/bash
22

3+
# Exit if any command fails
4+
set -e
5+
36
cd /app
47

5-
export FORCE_COLOR=true
6-
yarn test:unit || exit 1
7-
yarn test:eslint || exit 1
8-
yarn test:script || exit 1
8+
yarn test:unit
9+
yarn test:eslint
10+
yarn test:script
911

1012
echo '-------------------'
1113
echo 'All tests passed 🎉'

0 commit comments

Comments
 (0)