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 8210e89Copy full SHA for 8210e89
.github/workflows/LuaScripts.yml
@@ -30,5 +30,34 @@ jobs:
30
exit 1
31
fi
32
33
+ cd $WD
34
+ done
35
+
36
+ Squish:
37
+ name: "Unit Test Squished Scripts"
38
+ runs-on: ubuntu-latest
39
+ needs: Scripts
40
41
+ steps:
42
+ - name: Squish all scripts
43
+ run: |
44
+ find test -name "*.LUA" -executable -exec util/SQUISH.LUA {} +
45
46
+ - name: Run unit tests again on squished versions of script
47
48
+ set -e
49
+ WD=$(pwd)
50
+ TEST=$(find test -name test.sh -executable -print)
51
+ for file in $TEST; do
52
+ echo
53
+ echo "### Running $file ###"
54
55
+ cd $(dirname $file)
56
+ if ! ./$(basename "$file"); then
57
+ echo "Error: Script $file failed!"
58
+ cd "$WD"
59
+ exit 1
60
+ fi
61
62
cd $WD
63
done
0 commit comments