github ci
parent
6f2677727e
commit
ef3b5aac29
|
@ -0,0 +1,15 @@
|
||||||
|
name: integration-test
|
||||||
|
|
||||||
|
on: [push]
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v1
|
||||||
|
- uses: textbook/git-checkout-submodule-action@master
|
||||||
|
|
||||||
|
- name: test
|
||||||
|
run: ./test.sh
|
10
.travis.yml
10
.travis.yml
|
@ -1,10 +0,0 @@
|
||||||
language: generic
|
|
||||||
|
|
||||||
services:
|
|
||||||
- docker
|
|
||||||
|
|
||||||
script:
|
|
||||||
- ./test.sh
|
|
||||||
|
|
||||||
notifications:
|
|
||||||
email: false
|
|
2
test.sh
2
test.sh
|
@ -3,7 +3,7 @@
|
||||||
|
|
||||||
mkdir -p /tmp/mt/worlds/world
|
mkdir -p /tmp/mt/worlds/world
|
||||||
chmod 777 /tmp/mt -Rv
|
chmod 777 /tmp/mt -Rv
|
||||||
docker run --rm -it \
|
docker run --rm -i \
|
||||||
-v $(pwd)/test-minetest.conf:/etc/minetest/minetest.conf \
|
-v $(pwd)/test-minetest.conf:/etc/minetest/minetest.conf \
|
||||||
-v /tmp/mt:/var/lib/minetest/.minetest \
|
-v /tmp/mt:/var/lib/minetest/.minetest \
|
||||||
-v $(pwd):/var/lib/minetest/.minetest/worlds/world/worldmods \
|
-v $(pwd):/var/lib/minetest/.minetest/worlds/world/worldmods \
|
||||||
|
|
Loading…
Reference in New Issue