Skip to content

Commit 551e191

Browse files
committed
Add GitHub Action manifest for testing
1 parent 095d14c commit 551e191

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/test.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Run tests
2+
on:
3+
push:
4+
branches-ignore:
5+
- 'gh-pages'
6+
pull_request:
7+
branches-ignore:
8+
- 'gh-pages'
9+
10+
jobs:
11+
test:
12+
runs-on: ubuntu-latest
13+
steps:
14+
- name: Install dependencies
15+
run: sudo apt-get install shunit2
16+
- name: Check out branch
17+
uses: actions/checkout@v2
18+
- name: Create the minecraft user
19+
run: sudo adduser --system minecraft
20+
- name: Run tests
21+
run: sudo /bin/bash ./test.sh

0 commit comments

Comments
 (0)