moonscript/.github/workflows/spec.yml
2020-11-25 14:46:25 -08:00

32 lines
584 B
YAML

name: "spec"
on: [push, pull_request]
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