Add a maven github action

This commit is contained in:
Alexandre Vanhecke 2019-09-19 14:56:36 +02:00 committed by GitHub
parent 3d81d18439
commit 4b2b5829dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

19
.github/workflows/maven.yml vendored Normal file
View File

@ -0,0 +1,19 @@
name: Java CI
on: [push]
jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Set up JDK 1.8
uses: actions/setup-java@v1
with:
java-version: 1.8
- name: Build with Maven
run: mvn clean package --file pom.xml
- name: Tests with Maven
run: mvn test --file pom.xml