aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/test.yml14
1 files changed, 13 insertions, 1 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
index c0fd8ee..4c3f64c 100644
--- a/.github/workflows/test.yml
+++ b/.github/workflows/test.yml
@@ -27,10 +27,22 @@ jobs:
27 27
28 - uses: leafo/gh-actions-luarocks@v2 28 - uses: leafo/gh-actions-luarocks@v2
29 29
30 - name: test 30 - name: runtests.sh
31 run: | 31 run: |
32 LUA_DIR=.lua ${{ matrix.runtestEnv }} ./runtests.sh PREFIX=.lua ${{ matrix.runtestArgs }} 32 LUA_DIR=.lua ${{ matrix.runtestEnv }} ./runtests.sh PREFIX=.lua ${{ matrix.runtestArgs }}
33 33
34 - name: setup prove
35 run: |
36 make PREFIX=.lua ${{ matrix.runtestArgs }}
37 sudo apt-get install valgrind libipc-run3-perl cppcheck cpanminus
38 sudo cpanm --notest Test::Base Test::LongString
39
40 - name: prove
41 run: LUA_BIN=lua prove -Itests tests
42
43 - name: prove (valgrind)
44 run: LUA_BIN=lua TEST_LUA_USE_VALGRIND=1 prove -Itests tests
45
34 - name: build 46 - name: build
35 run: | 47 run: |
36 luarocks make 48 luarocks make