diff --git a/.github/workflows/integration-test.yml b/.github/workflows/integration-test.yml deleted file mode 100644 index 3a72e62..0000000 --- a/.github/workflows/integration-test.yml +++ /dev/null @@ -1,30 +0,0 @@ -name: integration-test - -on: [push, pull_request] - -jobs: - build: - - runs-on: ubuntu-20.04 - timeout-minutes: 10 - - steps: - - uses: actions/checkout@master - - - name: integration-test - run: ./integration-test.sh - - - name: 📧 Discord success notification - env: - DISCORD_WEBHOOK: ${{ secrets.discord_webhook }} - uses: Ilshidur/action-discord@master - with: - args: '☑️ Integration test passed for branch `${{ github.ref }}` and commit `${{ github.sha }}`' - - - name: 📧 Discord failure notification - if: failure() - env: - DISCORD_WEBHOOK: ${{ secrets.discord_webhook }} - uses: Ilshidur/action-discord@master - with: - args: '🚫 Integration test failed for branch `${{ github.ref }}` and commit `${{ github.sha }}`' diff --git a/integration-test-world/map.sqlite b/integration-test-world/map.sqlite deleted file mode 100644 index 35dc1e8..0000000 Binary files a/integration-test-world/map.sqlite and /dev/null differ diff --git a/integration-test-world/world.mt b/integration-test-world/world.mt deleted file mode 100644 index 250e777..0000000 --- a/integration-test-world/world.mt +++ /dev/null @@ -1,5 +0,0 @@ -gameid = minetest -backend = sqlite3 -creative_mode = false -enable_damage = false -player_backend = files diff --git a/integration-test.sh b/integration-test.sh deleted file mode 100755 index 0c98aad..0000000 --- a/integration-test.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/bash - -# build -docker build . -t mapserver - -docker run --name mapserver --rm \ - --network host \ - -v $(pwd)/integration-test-world:/app \ - mapserver & - -function cleanup { - # cleanup - docker stop mapserver -} - -trap cleanup EXIT - -bash -c 'while ! tile.png -file tile.png | grep "PNG image data" || exit 1