moonscript/.github/workflows/spec.yml

32 lines
570 B
YAML
Raw Normal View History

2020-11-23 00:27:50 +00:00
name: "spec"
on: [push]
jobs:
test:
strategy:
fail-fast: false
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@master
with:
luaVersion: ${{ matrix.luaVersion }}
- uses: leafo/gh-actions-luarocks@master
- name: build
run: |
luarocks install busted
luarocks install loadkit
luarocks make
- name: test
run: |
busted -o utfTerminal