File tree Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Expand file tree Collapse file tree 2 files changed +41
-1
lines changed Original file line number Diff line number Diff line change
1
+ name : Mutation Test
2
+
3
+ # Runs manually
4
+ on :
5
+ workflow_dispatch
6
+
7
+ jobs :
8
+
9
+ pitest-report :
10
+ runs-on : ubuntu-latest
11
+ steps :
12
+ - name : Checkout code
13
+ uses : actions/checkout@v3
14
+ with :
15
+ submodules : recursive
16
+ - name : Set up JDK
17
+ uses : actions/setup-java@v1
18
+ with :
19
+ java-version : ' 17'
20
+ - name : Run pitest coverage
21
+ run : |
22
+ cd cli
23
+ mvn test-compile org.pitest:pitest-maven:mutationCoverage -DtargetClasses=com.devonfw.tools.ide* -DtargetTests=com.devonfw.tools.ide*
24
+ - name : Upload report
25
+ uses : actions/upload-artifact@v4
26
+ with :
27
+ name : pit-report
28
+ path : cli/target/pit-reports
Original file line number Diff line number Diff line change 26
26
<dependency >
27
27
<groupId >org.junit.jupiter</groupId >
28
28
<artifactId >junit-jupiter</artifactId >
29
- <version >5.9.0 </version >
29
+ <version >5.9.2 </version >
30
30
<scope >test</scope >
31
31
</dependency >
32
32
<dependency >
84
84
</execution >
85
85
</executions >
86
86
</plugin >
87
+ <plugin >
88
+ <groupId >org.pitest</groupId >
89
+ <artifactId >pitest-maven</artifactId >
90
+ <version >1.16.1</version >
91
+ <dependencies >
92
+ <dependency >
93
+ <groupId >org.pitest</groupId >
94
+ <artifactId >pitest-junit5-plugin</artifactId >
95
+ <version >1.2.1</version >
96
+ </dependency >
97
+ </dependencies >
98
+ </plugin >
87
99
</plugins >
88
100
</build >
89
101
You can’t perform that action at this time.
0 commit comments