Fix tests: use VoxelArea with Mineunit
This commit is contained in:
parent
a7a47d2d90
commit
0cbbacc357
1
.github/workflows/mineunit.yml
vendored
1
.github/workflows/mineunit.yml
vendored
@ -14,6 +14,7 @@ jobs:
|
|||||||
uses: mt-mods/mineunit-actions@master
|
uses: mt-mods/mineunit-actions@master
|
||||||
with:
|
with:
|
||||||
working-directory: ./technic
|
working-directory: ./technic
|
||||||
|
mineunit-args: --fetch-core 5.4.1 --engine-version 5.4.1
|
||||||
badge-label: Test coverage
|
badge-label: Test coverage
|
||||||
|
|
||||||
- uses: RubbaBoy/BYOB@v1.2.0
|
- uses: RubbaBoy/BYOB@v1.2.0
|
||||||
|
3
technic/spec/fixtures/technic.lua
vendored
3
technic/spec/fixtures/technic.lua
vendored
@ -9,6 +9,9 @@ mineunit("protection")
|
|||||||
mineunit("common/after")
|
mineunit("common/after")
|
||||||
mineunit("server")
|
mineunit("server")
|
||||||
mineunit("voxelmanip")
|
mineunit("voxelmanip")
|
||||||
|
if mineunit:config("engine_version") ~= "mineunit" then
|
||||||
|
mineunit("game/voxelarea")
|
||||||
|
end
|
||||||
|
|
||||||
-- Load fixtures required by tests
|
-- Load fixtures required by tests
|
||||||
fixture("default")
|
fixture("default")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user