mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Add GitHub Action manifest for testing
This commit is contained in:
parent
095d14ce3c
commit
551e191b6a
21
.github/workflows/test.yml
vendored
Normal file
21
.github/workflows/test.yml
vendored
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user