mirror of
https://github.com/leafo/moonscript.git
synced 2024-11-22 02:44:23 +00:00
32 lines
570 B
YAML
32 lines
570 B
YAML
|
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
|