From d6acde2040ce05f4c1c248137e60d4a62c6e6724 Mon Sep 17 00:00:00 2001 From: Jude Melton-Houghton Date: Sat, 2 Apr 2022 14:03:55 -0400 Subject: [PATCH] Try adding test job --- .github/workflows/check-release.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/.github/workflows/check-release.yml b/.github/workflows/check-release.yml index d43987a..0b3903e 100644 --- a/.github/workflows/check-release.yml +++ b/.github/workflows/check-release.yml @@ -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