chore(ci) github actions for ci

This commit is contained in:
Enrique García Cota 2021-01-05 01:14:58 +01:00
parent 194a2a225d
commit f3c66a5c58
No known key found for this signature in database
GPG Key ID: 3BAA19133AAD7764

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

@ -0,0 +1,29 @@
name: test
on: [push]
jobs:
test:
strategy:
matrix:
luaVersion: ["5.1", "5.2", "5.3", "5.4", "luajit", "luajit-openresty"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@master
- uses: leafo/gh-actions-lua@v8.0.0
with:
luaVersion: ${{ matrix.luaVersion }}
- uses: leafo/gh-actions-luarocks@v4.0.0
- name: build
run: |
luarocks install busted
luarocks install busted-htest
- name: test
run: |
busted -o htest