Skip to content

Update Pitest to JDK21 (#780) #162

Update Pitest to JDK21 (#780)

Update Pitest to JDK21 (#780) #162

Workflow file for this run

name: pitest
on:
push:
branches:
- master
paths-ignore:
- '**.md'
- '**.yml'
- '**.yaml'
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
java: [ '21' ]
architecture: [ 'x64' ]
name: Mutation Testing with JDK ${{ matrix.java }} on ${{ matrix.architecture }}
steps:
- uses: actions/checkout@v4
- name: Setup JDK
uses: actions/setup-java@v3
with:
java-version: ${{ matrix.java }}
architecture: ${{ matrix.architecture }}
distribution: 'oracle'
- uses: actions/cache@v3.3.2
with:
path: ~/.m2/repository
key: ${{ runner.os }}-maven-${{ hashFiles('**/pom.xml') }}
restore-keys: ${{ runner.os }}-maven-
- name: Run Mutation Testing
run: mvn package -Ppitest org.pitest:pitest-maven:mutationCoverage
- name: Deploy
uses: peaceiris/actions-gh-pages@v3.9.3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/pit-reports/*/