Skip to content

Commit

Permalink
Add GitHub Action manifest for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
renderorange committed Nov 14, 2021
1 parent 095d14c commit 551e191
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 551e191

Please sign in to comment.