From 4b2b5829ddee5f23c2e5d2a5bbd2326ae12fc988 Mon Sep 17 00:00:00 2001 From: Alexandre Vanhecke Date: Thu, 19 Sep 2019 14:56:36 +0200 Subject: [PATCH] Add a maven github action --- .github/workflows/maven.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/maven.yml diff --git a/.github/workflows/maven.yml b/.github/workflows/maven.yml new file mode 100644 index 00000000..0676c7ad --- /dev/null +++ b/.github/workflows/maven.yml @@ -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