-
-
Notifications
You must be signed in to change notification settings - Fork 55
38 lines (33 loc) · 904 Bytes
/
pitest.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
name: pitest
on:
workflow_dispatch:
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@v4
with:
java-version: ${{ matrix.java }}
architecture: ${{ matrix.architecture }}
distribution: 'oracle'
- name: Run Mutation Testing
run: mvn package -Ppitest org.pitest:pitest-maven:mutationCoverage
- name: Deploy
uses: peaceiris/actions-gh-pages@v4.0.0
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./target/pit-reports