github ci

master
BuckarooBanzay 2019-12-02 08:32:49 +01:00
parent 6f2677727e
commit ef3b5aac29
3 changed files with 16 additions and 11 deletions

15
.github/workflows/integration-test.yml vendored Normal file
View File

@ -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

View File

@ -1,10 +0,0 @@
language: generic
services:
- docker
script:
- ./test.sh
notifications:
email: false

View File

@ -3,7 +3,7 @@
mkdir -p /tmp/mt/worlds/world
chmod 777 /tmp/mt -Rv
docker run --rm -it \
docker run --rm -i \
-v $(pwd)/test-minetest.conf:/etc/minetest/minetest.conf \
-v /tmp/mt:/var/lib/minetest/.minetest \
-v $(pwd):/var/lib/minetest/.minetest/worlds/world/worldmods \