pitest-nightly #11
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: pitest-nightly | |
| on: | |
| schedule: | |
| # 04:00 UTC daily — off-peak for Actions runners | |
| - cron: "0 4 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| pitest: | |
| name: pitest (${{ matrix.module }}) | |
| runs-on: ubuntu-24.04 | |
| strategy: | |
| fail-fast: false | |
| matrix: | |
| module: [arcp-core, arcp-runtime] | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - uses: actions/setup-java@v4 | |
| with: | |
| distribution: temurin | |
| java-version: "21" | |
| cache: maven | |
| - name: Install dependencies of ${{ matrix.module }} | |
| run: mvn -B -ntp -pl ${{ matrix.module }} -am -DskipTests -Darcp.skip.spotless=true install | |
| - name: Run PIT mutation analysis | |
| run: mvn -B -ntp -pl ${{ matrix.module }} -Darcp.skip.spotless=true org.pitest:pitest-maven:mutationCoverage | |
| - name: Upload mutation report | |
| if: always() | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: pitest-${{ matrix.module }} | |
| path: ${{ matrix.module }}/target/pit-reports/ |