Apache TomEE 10.x support #302
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
paths-ignore: | |
- "docs/**" | |
branches: | |
- master | |
pull_request: | |
types: | |
- opened | |
- synchronize | |
- reopened | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Set up JDK | |
uses: actions/setup-java@v4 | |
with: | |
distribution: 'zulu' | |
java-version: 17 | |
cache: "maven" | |
- name: Build with Maven | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} | |
run: | | |
mvn clean test jacoco:report -Punit-test,coverage | |
mvn verify jacoco:report-integration -Parq-wildfly-managed,coverage | |
mvn sonar:sonar \ | |
-Dsonar.host.url=https://sonarcloud.io \ | |
-Dsonar.token=$SONAR_TOKEN \ | |
-Dsonar.organization=hantsy \ | |
-Dsonar.projectKey=hantsy_jakartaee10-starter-boilerplate \ | |
-Dsonar.coverage.jacoco.xmlReportPaths=target/site/*/jacoco.xml \ | |
-Dsonar.coverage.exclusions=**/dto/*,**/*Configuration.*,**/SampleDataGenerator.* | |