BackwardCompatibilityCheck
BackwardCompatibilityCheck copied to clipboard
Upgrade to PHPUnit v10
Fix #740
This makes the test suite compatible with the latest PHPUnit version and upgrades everything to it, which removes the SEGFAULTs we were having previously.
(the first commit is from #737, a rebase to sync is more than enough to remove it from the last merged branch)
Replaces #736
Argh, this is possibly blocked by https://github.com/laminas/laminas-ci-matrix-action/pull/189 and https://github.com/laminas/laminas-continuous-integration-action/issues/130
Argh, this is possibly blocked by https://github.com/laminas/laminas-ci-matrix-action/pull/189 and https://github.com/laminas/laminas-continuous-integration-action/issues/130
Fun!
We can "hide" the SEGFAULTs by temporarily relying on exec()
.
Trade-offs, eh!?
Can't we add it as extension to be installed for this package (at least until that addressed on the upstream)?
Alternatively we can also use a pre-install script to run arbitrary commands as root: https://github.com/laminas/laminas-continuous-integration-action/blob/1.33.x/entrypoint.sh#L162
That might help to only install a coverage driver for specific jobs and allow moving this forward.
I really just need to do the upstream releasing/fixing: however you put the problem, the blocker is me and my constantly clogged schedule :S
I'd be fine with using exec()
BTW: the code is well tested anyway, so it's an implementation change only.
I'd be fine with using
exec()
BTW: the code is well tested anyway, so it's an implementation change only.
I'll send a different PR to tackle this, I've the changes in my local history 👍
I'd be fine with using
exec()
BTW: the code is well tested anyway, so it's an implementation change only.I'll send a different PR to tackle this, I've the changes in my local history +1
Scratch that, we can already enable PCOV here and solve the issue.
I've pushed an extra commit and rebased the baseline PR to verify that CI works for both.
@Ocramius @asgrim please approve the workflow run (whenever) on both PRs to make sure things are fine :+1:
Silly me... I've overlooked the generated command for infection on the matrix :facepalm:
I used vendor/bin/infection
to test, CI is using phpdbg -qrr ./vendor/bin/roave-infection-static-analysis-plugin
Well, that would never work :rofl:
All the things I can think of are horrendous... let's release CI-action v2 :laughing:
Yeah, and phpdbg
+ pcov
together do lead to segfaults :S
@lcobucci doing some paid work, then picking up OCI-CatalogService again