mirror of
https://github.com/minetest-mods/technic.git
synced 2024-11-14 22:40:41 +01:00
also test with latest minetest version
This commit is contained in:
parent
3b18754d53
commit
a8f932aa22
14
.github/workflows/integration-test-latest.yml
vendored
Normal file
14
.github/workflows/integration-test-latest.yml
vendored
Normal 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
|
2
.github/workflows/integration-test.yml
vendored
2
.github/workflows/integration-test.yml
vendored
|
@ -11,4 +11,4 @@ jobs:
|
||||||
- uses: actions/checkout@v1
|
- uses: actions/checkout@v1
|
||||||
|
|
||||||
- name: test
|
- name: test
|
||||||
run: ./integration-test.sh
|
run: MINETEST_VERSION=5.2.0 ./integration-test.sh
|
||||||
|
|
|
@ -21,6 +21,6 @@ docker run --rm -i \
|
||||||
-v ${CFG}:/etc/minetest/minetest.conf:ro \
|
-v ${CFG}:/etc/minetest/minetest.conf:ro \
|
||||||
-v ${MTDIR}:/var/lib/minetest/.minetest \
|
-v ${MTDIR}:/var/lib/minetest/.minetest \
|
||||||
-v $(pwd):/var/lib/minetest/.minetest/worlds/world/worldmods/technic \
|
-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
|
test -f ${WORLDDIR}/integration_test.json && exit 0 || exit 1
|
||||||
|
|
Loading…
Reference in New Issue
Block a user