add GitHub Actions CI

This runs the tests on every PR and branch push (including master
merges). Handy for avoiding dumb compile bugs and validating changes.
This commit is contained in:
Jeff Hodges 2020-06-12 15:03:19 -07:00 committed by Jon Chambers
parent acdefb394c
commit e48afc9fdf
1 changed files with 16 additions and 0 deletions

16
.github/workflows/test.yml vendored Normal file
View File

@ -0,0 +1,16 @@
name: Service CI
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up JDK 11
uses: actions/setup-java@v1
with:
java-version: 11
- name: Build with Maven
run: mvn -e -B package