You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

maven.yml 903B

12345678910111213141516171819202122232425262728293031323334353637
  1. # This workflow will build a Java project with Maven
  2. # For more information see: https://help.github.com/actions/language-and-framework-guides/building-and-testing-java-with-maven
  3. name: Java CI with Maven
  4. on:
  5. push:
  6. branches: [ master ]
  7. pull_request:
  8. branches: [ master ]
  9. jobs:
  10. build:
  11. runs-on: ubuntu-latest
  12. strategy:
  13. fail-fast: false
  14. matrix:
  15. java: [ 8, 11, 15 ]
  16. steps:
  17. - uses: actions/checkout@v2
  18. - name: Set up JDK ${{ matrix.java }}
  19. uses: actions/setup-java@v1
  20. with:
  21. java-version: ${{ matrix.java }}
  22. - name: Print tool versions
  23. run: |
  24. java -version
  25. ./mvnw -B --version
  26. ant -version
  27. - name: Compile code
  28. run: ./mvnw -B -DskipTests package --file pom.xml
  29. - name: Run Tests
  30. run: ./mvnw -B -Daspectj.tests.verbose=false verify --file pom.xml