We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3795edb commit b6d94e5Copy full SHA for b6d94e5
.github/workflows/LuaScripts.yml
@@ -30,5 +30,28 @@ jobs:
30
exit 1
31
fi
32
33
+ cd $WD
34
+ done
35
+
36
+ - name: Squish all scripts
37
+ run: |
38
+ find . -name "*.LUA" -type f -exec util/SQUISH.LUA {} +
39
40
+ - name: Run unit tests again on squished versions of script
41
42
+ set -e
43
+ WD=$(pwd)
44
+ TEST=$(find test -name test.sh -executable -print)
45
+ for file in $TEST; do
46
+ echo
47
+ echo "### Running $file ###"
48
49
+ cd $(dirname $file)
50
+ if ! ./$(basename "$file"); then
51
+ echo "Error: Script $file failed!"
52
+ cd "$WD"
53
+ exit 1
54
+ fi
55
56
cd $WD
57
done
0 commit comments