also test with latest minetest version

This commit is contained in:
BuckarooBanzay 2020-05-09 21:02:19 +02:00
parent 3b18754d53
commit a8f932aa22
3 changed files with 16 additions and 2 deletions

View File

@ -0,0 +1,14 @@
name: integration-test
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: test
run: MINETEST_VERSION=latest ./integration-test.sh

View File

@ -11,4 +11,4 @@ jobs:
- uses: actions/checkout@v1
- name: test
run: ./integration-test.sh
run: MINETEST_VERSION=5.2.0 ./integration-test.sh

View File

@ -21,6 +21,6 @@ docker run --rm -i \
-v ${CFG}:/etc/minetest/minetest.conf:ro \
-v ${MTDIR}:/var/lib/minetest/.minetest \
-v $(pwd):/var/lib/minetest/.minetest/worlds/world/worldmods/technic \
registry.gitlab.com/minetest/minetest/server:5.2.0
registry.gitlab.com/minetest/minetest/server:${MINETEST_VERSION}
test -f ${WORLDDIR}/integration_test.json && exit 0 || exit 1