12345678910111213141516171819202122232425262728293031323334353637 |
- # This workflow will build a Java project with Maven
- # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
-
- name: Java CI with Maven
-
- on:
- push:
- branches: [ master ]
- pull_request:
- branches: [ master ]
-
- jobs:
- build:
- runs-on: ubuntu-latest
- strategy:
- fail-fast: false
- matrix:
- java: [ 8, 11, 15 ]
- steps:
- - uses: actions/checkout@v2
-
- - name: Set up JDK ${{ matrix.java }}
- uses: actions/setup-java@v1
- with:
- java-version: ${{ matrix.java }}
-
- - name: Print tool versions
- run: |
- java -version
- ./mvnw -B --version
- ant -version
-
- - name: Compile code
- run: ./mvnw -B -DskipTests package --file pom.xml
-
- - name: Run Tests
- run: ./mvnw -B -Daspectj.tests.verbose=false verify --file pom.xml
|