From 551e191b6a3f80c11335facbf179c38af3bd40e2 Mon Sep 17 00:00:00 2001 From: Blaine Motsinger <blaine@renderorange.com> Date: Sat, 13 Nov 2021 20:32:28 -0600 Subject: [PATCH] Add GitHub Action manifest for testing --- .github/workflows/test.yml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..7cd097b --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,21 @@ +name: Run tests +on: + push: + branches-ignore: + - 'gh-pages' + pull_request: + branches-ignore: + - 'gh-pages' + +jobs: + test: + runs-on: ubuntu-latest + steps: + - name: Install dependencies + run: sudo apt-get install shunit2 + - name: Check out branch + uses: actions/checkout@v2 + - name: Create the minecraft user + run: sudo adduser --system minecraft + - name: Run tests + run: sudo /bin/bash ./test.sh