Switch to mineunit-actions (#708)

This commit is contained in:
SX 2025-06-12 10:28:11 +03:00 committed by GitHub
parent 27072542cf
commit f24429b9f7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -19,22 +19,27 @@ jobs:
name: "Mineunit tests" name: "Mineunit tests"
steps: steps:
- uses: actions/checkout@main - uses: actions/checkout@main
- name: apt
run: sudo apt-get install -y luarocks lua-bitop
- name: install lua deps
run: for x in busted luacov; do luarocks install --local $x; done
- name: install mineunit
# FIXME: this seems to be abandoned?
run: luarocks install --server=https://luarocks.org/dev --local mineunit
- name: run mesecons tests - name: run mesecons tests
working-directory: ./mesecons/ uses: mt-mods/mineunit-actions@master
run: $HOME/.luarocks/bin/mineunit -q with:
coverage: false
mineunit-args: -q
working-directory: ./mesecons
- name: run mesecons_mvps tests - name: run mesecons_mvps tests
working-directory: ./mesecons_mvps/ uses: mt-mods/mineunit-actions@master
run: $HOME/.luarocks/bin/mineunit -q with:
coverage: false
mineunit-args: -q
working-directory: ./mesecons_mvps
- name: run mesecons_fpga tests - name: run mesecons_fpga tests
working-directory: ./mesecons_fpga/ uses: mt-mods/mineunit-actions@master
run: $HOME/.luarocks/bin/mineunit -q with:
coverage: false
mineunit-args: -q
working-directory: ./mesecons_fpga
- name: run mesecons_luacontroller tests - name: run mesecons_luacontroller tests
working-directory: ./mesecons_luacontroller/ uses: mt-mods/mineunit-actions@master
run: $HOME/.luarocks/bin/mineunit -q with:
coverage: false
mineunit-args: -q
working-directory: ./mesecons_luacontroller