| Q | A
| ---------------- | ---
| Infection | 0.16.3
| PHP version | 7.4.7
| CI | Github actions.
[warning] Dashboard report has not been sent: The current process is not executed in a CI build.
Config:
{
"source": {
"directories": [
"src"
]
},
"logs": {
"text": "php:\/\/stderr",
"badge": {
"branch": "master"
}
},
"mutators": {
"@default": true
},
"tmpDir": "/runtime/infection",
"testFramework": "codeception"
}
Hello @terabytesoftw.
I guess this is an issue with the lib we are using to detect CIs: https://github.com/OndraM/ci-detector
Do you have a public URL where Infection is used with GH Actions? From what I see, GH Actions are supported:
I think we need to open an issue in that repository.
See https://github.com/OndraM/ci-detector/issues/74#issuecomment-643996686 .
In short: do not run infection via sudo. CI environment cannot be detected in sudo shell on GitHub actions.
@OndraM is there a possibility to throw a error there which we could catch to provide more context on our side as to why no CI was detected?
Most helpful comment
@OndraM is there a possibility to throw a error there which we could catch to provide more context on our side as to why no CI was detected?