We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 423445a commit 90c6c7bCopy full SHA for 90c6c7b
1 file changed
.github/workflows/test.yml
@@ -15,4 +15,19 @@ jobs:
15
16
- name: Run script unit tests
17
run: |
18
- find test -name test.sh -executable -print -execdir ./{} \;
+ set -e
19
+ WD=$(pwd)
20
+ TEST=$(find test -name test.sh -executable -print)
21
+ for file in $TEST; do
22
+ echo
23
+ echo "### Running $file ###"
24
25
+ cd $(dirname $file)
26
+ if ! ./$(basename "$file"); then
27
+ echo "Error: Script $file failed!"
28
+ cd "$WD"
29
+ exit 1
30
+ fi
31
+
32
+ cd $WD
33
+ done
0 commit comments