Try adding test job

This commit is contained in:
Jude Melton-Houghton 2022-04-02 14:03:55 -04:00
parent dc42847077
commit d6acde2040
1 changed files with 17 additions and 0 deletions

View File

@ -13,3 +13,20 @@ jobs:
run: luarocks install --local luacheck
- name: luacheck run
run: $HOME/.luarocks/bin/luacheck ./
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@main
- name: apt
run: sudo apt-get install -y luarocks
- name: busted install
run: luarocks install --local busted
- name: luacov install
run: luarocks install --local luacov
- name: mineunit install
run: luarocks install --server=https://luarocks.org/dev --local mineunit
- name: run mesecons tests
working-directory: ./mesecons/
run: $HOME/.luarocks/bin/mineunit -q