Skip to content

Commit 8c5d573

Browse files
committed
Remove PIT evaluation from quality monitor
PIT is not enabled in this project.
1 parent 2cc76d1 commit 8c5d573

3 files changed

Lines changed: 9 additions & 62 deletions

File tree

.github/quality-gates-pr.json

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -6,27 +6,6 @@
66
"threshold": 100.0,
77
"criticality": "FAILURE"
88
},
9-
{
10-
"metric": "line",
11-
"name": "Line Coverage in New Code",
12-
"scope": "new",
13-
"threshold": 90.0,
14-
"criticality": "UNSTABLE"
15-
},
16-
{
17-
"metric": "branch",
18-
"name": "Branch Coverage in New Code",
19-
"scope": "new",
20-
"threshold": 90.0,
21-
"criticality": "UNSTABLE"
22-
},
23-
{
24-
"metric": "mutation",
25-
"name": "Mutation Coverage in New Code",
26-
"scope": "new",
27-
"threshold": 90.0,
28-
"criticality": "UNSTABLE"
29-
},
309
{
3110
"metric": "bugs",
3211
"name": "Potential Bugs in Whole Project",

.github/quality-monitor-pr.json

Lines changed: 8 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,19 @@
55
{
66
"id": "junit",
77
"name": "Unit Tests",
8-
"pattern": "**/target/surefire-reports/TEST*.xml"
8+
"pattern": "**/target/surefire-reports/TEST*data*.xml"
9+
},
10+
{
11+
"id": "junit",
12+
"icon": "rocket",
13+
"name": "Integration Tests",
14+
"pattern": "**/target/failsafe-reports/TEST*.xml"
915
},
1016
{
1117
"id": "junit",
1218
"icon": "no_entry",
1319
"name": "Architecture Tests",
14-
"pattern": "**/target/archunit-reports/TEST*.xml"
20+
"pattern": "**/target/surefire-reports/TEST*archunit*.xml"
1521
}
1622
]
1723
},
@@ -51,18 +57,6 @@
5157
}
5258
]
5359
},
54-
{
55-
"name": "API Problems",
56-
"id": "api",
57-
"icon": "no_entry_sign",
58-
"tools": [
59-
{
60-
"id": "revapi",
61-
"sourcePath": "src/main/java",
62-
"pattern": "**/target/revapi-result.json"
63-
}
64-
]
65-
},
6660
{
6761
"name": "Vulnerabilities",
6862
"id": "vulnerabilities",
@@ -93,20 +87,6 @@
9387
"scope": "new",
9488
"sourcePath": "src/main/java",
9589
"pattern": "**/target/site/jacoco/jacoco.xml"
96-
},
97-
{
98-
"id": "pit",
99-
"scope": "new",
100-
"metric": "mutation",
101-
"sourcePath": "src/main/java",
102-
"pattern": "**/target/pit-reports/mutations.xml"
103-
},
104-
{
105-
"id": "pit",
106-
"metric": "test-strength",
107-
"scope": "new",
108-
"sourcePath": "src/main/java",
109-
"pattern": "**/target/pit-reports/mutations.xml"
11090
}
11191
]
11292
},
@@ -124,18 +104,6 @@
124104
"metric": "branch",
125105
"sourcePath": "src/main/java",
126106
"pattern": "**/target/site/jacoco/jacoco.xml"
127-
},
128-
{
129-
"id": "pit",
130-
"metric": "mutation",
131-
"sourcePath": "src/main/java",
132-
"pattern": "**/target/pit-reports/mutations.xml"
133-
},
134-
{
135-
"id": "pit",
136-
"metric": "test-strength",
137-
"sourcePath": "src/main/java",
138-
"pattern": "**/target/pit-reports/mutations.xml"
139107
}
140108
]
141109
}

.github/quality-monitor.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,8 +63,8 @@
6363
"icon": "shield",
6464
"tools": [
6565
{
66-
"icon": "shield",
6766
"id": "owasp-dependency-check",
67+
"icon": "shield",
6868
"pattern": "**/target/dependency-check-report.json"
6969
}
7070
]

0 commit comments

Comments
 (0)