configure build.yml to run the unit tests
This commit is contained in:
parent
43c85ab8cf
commit
9ec9db0ca9
11
.build.yml
11
.build.yml
|
@ -5,13 +5,12 @@ packages:
|
|||
- minetest-server
|
||||
- unzip
|
||||
- wget
|
||||
- lua-busted
|
||||
sources :
|
||||
- https://git.sr.ht/~gpcf/advtrains
|
||||
|
||||
tasks:
|
||||
- activate_test_env: |
|
||||
cd advtrains
|
||||
git merge --no-commit origin/luaatcdebug
|
||||
|
||||
- download_mt_server: |
|
||||
mkdir bin
|
||||
wget https://lifomaps.de/advtrains-test/builtin.tar.gz
|
||||
|
@ -29,6 +28,12 @@ tasks:
|
|||
curl https://lifomaps.de/advtrains-test/testworld.tar.gz -o ~/testworld.tar.gz
|
||||
cd .minetest/worlds/
|
||||
tar xf ../../testworld.tar.gz
|
||||
- run_unit_tests : |
|
||||
cd advtrains/advtrains
|
||||
busted
|
||||
- activate_test_env: |
|
||||
cd advtrains
|
||||
git merge --no-commit origin/luaatcdebug
|
||||
- install_advtrains : |
|
||||
mkdir .minetest/mods
|
||||
cp -r advtrains .minetest/mods
|
||||
|
|
Loading…
Reference in New Issue