Create Surefire Report #1329
This file contains hidden or 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: Create Surefire Report | |
| on: | |
| schedule: | |
| - cron: '0 0 * * *' | |
| jobs: | |
| report: | |
| runs-on: ubuntu-latest | |
| env: | |
| MVN: ./mvnw --show-version --batch-mode | |
| steps: | |
| - name: Checkout | |
| id: checkout | |
| uses: actions/checkout@v6 | |
| - name: Set up JDK | |
| id: setup-jdk | |
| uses: actions/setup-java@v5 | |
| with: | |
| java-version: '17' | |
| distribution: 'temurin' | |
| cache: maven | |
| - name: Run Tests | |
| id: run-tests | |
| run: $MVN --fail-never -P all-tests test -Dsurefire.failIfNoSpecifiedTests=false | |
| - name: Site | |
| id: site | |
| run: $MVN -P all-tests site:site -DskipTests -Daggregate=true -Dsurefire.failIfNoSpecifiedTests=false | |
| - name: Publish | |
| id: publish | |
| uses: JamesIves/github-pages-deploy-action@v4.8.0 | |
| with: | |
| branch: gh-pages | |
| folder: ./target/site | |
| clean: true |