Skip to content

Commit d298f72

Browse files
committed
Override Infection CI job definition
Given the plans for laminas-continuous-integration-action v2 is to always ship PCOV, we can simply enable it here to allow us to detach the two processes. This temporarily disables the default infection job and provides a new configuration that uses PCOV instead. Signed-off-by: Luís Cobucci <[email protected]>
1 parent 1f68f76 commit d298f72

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
lines changed

.laminas-ci.json

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,21 @@
11
{
22
"extensions": [
3-
"bcmath"
3+
"bcmath", "pcov"
44
],
55
"ini": [
66
"memory_limit=-1"
7+
],
8+
"exclude": [
9+
{"name": "Infection"}
10+
],
11+
"additional_checks": [
12+
{
13+
"name": "Infection (PCOV)",
14+
"job": {
15+
"php": "@lowest",
16+
"dependencies": "locked",
17+
"command": "./vendor/bin/roave-infection-static-analysis-plugin"
18+
}
19+
}
720
]
821
}

infection.json.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@
1717
"NotIdenticalNotEqual": false
1818
},
1919
"minMsi": 85.8,
20-
"minCoveredMsi": 100
20+
"minCoveredMsi": 95
2121
}

0 commit comments

Comments
 (0)