Add github action to run tests

This commit is contained in:
Bart van Strien 2021-07-26 14:53:31 +02:00
parent fce9c44271
commit facd3a811b

24
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,24 @@
name: test
on: [push]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: leafo/gh-actions-lua@v5
with:
luaVersion: "5.1"
- uses: leafo/gh-actions-luarocks@v2
- name: build
run: |
luarocks make inifile-dev-1.rockspec
- name: test
run: |
busted -o utfTerminal