diff options
author | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2021-11-09 21:51:33 +0100 |
---|---|---|
committer | Gabriel Pérez-Cerezo <gabriel@gpcf.eu> | 2021-11-09 21:51:33 +0100 |
commit | 9ec9db0ca98e8a1f50b20e4f0d916a83d96a581c (patch) | |
tree | af4c299ad0468776f26996646ebae78649863d42 | |
parent | 43c85ab8cf0b120b3ff137c5328f0128dc4d9a9e (diff) | |
download | advtrains-9ec9db0ca98e8a1f50b20e4f0d916a83d96a581c.tar.gz advtrains-9ec9db0ca98e8a1f50b20e4f0d916a83d96a581c.tar.bz2 advtrains-9ec9db0ca98e8a1f50b20e4f0d916a83d96a581c.zip |
configure build.yml to run the unit tests
-rw-r--r-- | .build.yml | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -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 +tasks: + - 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 |