pullrequest.yml 525 B

1234567891011121314151617181920212223242526
  1. name: Pull Request
  2. on:
  3. pull_request:
  4. env:
  5. JAVA_DIST: 'temurin'
  6. JAVA_VERSION: 24
  7. defaults:
  8. run:
  9. shell: bash
  10. jobs:
  11. test:
  12. name: Compile and Test
  13. runs-on: ubuntu-latest
  14. steps:
  15. - uses: actions/checkout@v4
  16. - uses: actions/setup-java@v4
  17. with:
  18. distribution: ${{ env.JAVA_DIST }}
  19. java-version: ${{ env.JAVA_VERSION }}
  20. cache: 'maven'
  21. - name: Build and Test
  22. run: xvfb-run mvn -B clean install jacoco:report -Pcoverage -Djavafx.platform=linux