Create Surefire Report #852
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: 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@v4 | |
- name: Set up JDK | |
id: setup-jdk | |
uses: actions/setup-java@v4 | |
with: | |
java-version: '11' | |
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/[email protected] | |
with: | |
branch: gh-pages | |
folder: ./target/site | |
clean: true |