diff options
Diffstat (limited to '.github/workflows')
| -rw-r--r-- | .github/workflows/test.yml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index a2076f1..95138ed 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml | |||
| @@ -1,6 +1,6 @@ | |||
| 1 | name: test | 1 | name: test |
| 2 | 2 | ||
| 3 | on: [push] | 3 | on: [push, pull_request] |
| 4 | 4 | ||
| 5 | jobs: | 5 | jobs: |
| 6 | test: | 6 | test: |
| @@ -29,7 +29,7 @@ jobs: | |||
| 29 | luaVersion: ${{ matrix.luaVersion }} | 29 | luaVersion: ${{ matrix.luaVersion }} |
| 30 | luaCompileFlags: CC=${{ matrix.cc }} | 30 | luaCompileFlags: CC=${{ matrix.cc }} |
| 31 | 31 | ||
| 32 | - uses: leafo/gh-actions-luarocks@v2 | 32 | - uses: leafo/gh-actions-luarocks@master |
| 33 | 33 | ||
| 34 | - name: runtests.sh | 34 | - name: runtests.sh |
| 35 | env: | 35 | env: |
| @@ -42,6 +42,7 @@ jobs: | |||
| 42 | CC: ${{ matrix.cc }} | 42 | CC: ${{ matrix.cc }} |
| 43 | run: | | 43 | run: | |
| 44 | make PREFIX=.lua ${{ matrix.runtestArgs }} | 44 | make PREFIX=.lua ${{ matrix.runtestArgs }} |
| 45 | sudo apt-get update | ||
| 45 | sudo apt-get install -q valgrind libipc-run3-perl cppcheck cpanminus | 46 | sudo apt-get install -q valgrind libipc-run3-perl cppcheck cpanminus |
| 46 | sudo cpanm --notest Test::Base Test::LongString | 47 | sudo cpanm --notest Test::Base Test::LongString |
| 47 | 48 | ||
