Skip to content
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.

Commit

Permalink
Update CI (mpx#68)
Browse files Browse the repository at this point in the history
* update luarocks action
* apt-get update
* run tests on pull request as well
  • Loading branch information
leafo committed Jan 8, 2021
1 parent f8e36f8 commit 62fe224
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: test

on: [push]
on: [push, pull_request]

jobs:
test:
Expand Down Expand Up @@ -29,7 +29,7 @@ jobs:
luaVersion: ${{ matrix.luaVersion }}
luaCompileFlags: CC=${{ matrix.cc }}

- uses: leafo/gh-actions-luarocks@v2
- uses: leafo/gh-actions-luarocks@master

- name: runtests.sh
env:
Expand All @@ -42,6 +42,7 @@ jobs:
CC: ${{ matrix.cc }}
run: |
make PREFIX=.lua ${{ matrix.runtestArgs }}
sudo apt-get update
sudo apt-get install -q valgrind libipc-run3-perl cppcheck cpanminus
sudo cpanm --notest Test::Base Test::LongString
Expand Down

0 comments on commit 62fe224

Please sign in to comment.