Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Both Composer, as well as PHPUnit have released new versions to try and fix the issue with tests being run with process isolation, which were resulting in the following error: ``` PHPUnit\Framework\Exception: PHP Fatal error: strict_types declaration must be the very first statement in the script in /home/runner/work/BrainMonkey/BrainMonkey/vendor/phpunit/phpunit/phpunit on line 2 ``` While that fixes the builds for runs against the `highest` versions of dependencies, it still does not solve the problem when running the tests with the `lowest` dependencies. Build against the `lowest` dependencies now hang indefinitely. This commit attempts to fix this by using Composer 2.1 for builds against `lowest` dependencies. It also sets a 15 minute time-out for the test runs against the `lowest` dependencies to prevent builds being very slow in reporting. Refs: * composer/composer#10387 * sebastianbergmann/phpunit#4846 * https://github.com/composer/composer/releases/tag/2.2.2 * https://github.com/sebastianbergmann/phpunit/blob/9.5/ChangeLog-9.5.md#9511---2021-12-25
- Loading branch information