Update test-macros.fnl #57
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
test-lua-puc: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: leafo/gh-actions-lua@v10 | |
with: | |
luaVersion: "5.4" | |
- uses: leafo/gh-actions-luarocks@v4 | |
- name: build | |
run: | | |
luarocks install luaunit | |
luarocks make rockspec/modest-harmony-scm-1.rockspec | |
- name: test | |
run: | | |
lua run_tests.lua | |
test-lua-jit: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@master | |
- uses: leafo/gh-actions-lua@v10 | |
with: | |
luaVersion: "luajit-openresty" | |
- uses: leafo/gh-actions-luarocks@v4 | |
- name: build | |
run: | | |
luarocks install luaunit | |
luarocks make rockspec/modest-harmony-scm-1.rockspec | |
- name: test | |
run: | | |
luajit run_tests.lua |