Skip to content

Commit d0b6f58

Browse files
committed
Trying to disable automatic CI pipeline, which tries to use phpdbg for coverage
Trying to chase @lcobucci's work on Roave/BackwardCompatibilityCheck#741 See schema: * https://github.com/laminas/laminas-ci-matrix-action/blob/7f7976e6faf1ee8fcfca77cf0487cc4d0b486f11/laminas-ci.schema.json This commit should: * remove automatic infection pipeline entry * add infection run via `pcov` coverage driver Fixes: ``` Error: ] Project tests must be in a passing state before running Infection. Infection runs the test suite in a RANDOM order. Make sure your tests do not have hidden dependencies. You can add these attributes to `phpunit.xml` to check it: <phpunit executionOrder="random" resolveDependencies="true" ... If you don't want to let Infection run tests in a random order, set the `executionOrder` to some value, for example <phpunit executionOrder="default" Check the executed command to identify the problem: '/usr/bin/phpdbg8.2' '-qrr' '/github/workspace/vendor/bin/phpunit' '--configuration' '/tmp/infection/phpunitConfiguration.initial.infection.xml' '--coverage-xml=/tmp/infection/coverage-xml' '--log-junit=/tmp/infection/junit.xml' PHPUnit reported an exit code of 1. ```
1 parent d0afc9e commit d0b6f58

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.laminas-ci.json

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"extensions": [
3+
"bcmath",
4+
"pcov"
5+
],
6+
"ini": [
7+
"memory_limit=-1"
8+
],
9+
"exclude": [
10+
{"name": "Infection [8.2, locked]"}
11+
],
12+
"additional_checks": [
13+
{
14+
"name": "Codeception on all supported PHP versions",
15+
"job": {
16+
"php": "8.4",
17+
"dependencies": "locked",
18+
19+
"command": "./vendor/bin/roave-infection-static-analysis-plugin"
20+
}
21+
}
22+
]
23+
}

0 commit comments

Comments
 (0)