File tree Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Expand file tree Collapse file tree 3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 3333 - name : Run phpunit tests
3434 run : |
3535 mkdir -p build/logs
36- vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml
36+ PROCESS_FACTORY=host vendor/bin/phpunit
37+ PROCESS_FACTORY=docker vendor/bin/phpunit --coverage-clover ./build/logs/clover.xml
3738 - name : Run phpcs
3839 run : composer cs
3940
Original file line number Diff line number Diff line change 1010 <exclude >./test/solutions</exclude >
1111 </testsuite >
1212 <php >
13- <env name =" process_factory " value =" docker" force = " true " />
13+ <env name =" PROCESS_FACTORY " value =" docker" />
1414 </php >
1515</phpunit >
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public function testThrowingWrongException(): void
3434 self ::assertInstanceOf (Success::class, $ output ->getResults ()[1 ]);
3535
3636 self ::assertMatchesRegularExpression (
37- '/Fatal error: Uncaught Exception: Access denied!/ ' ,
37+ '/Fatal error:\s+ Uncaught Exception: Access denied!/ ' ,
3838 $ output ->getResults ()[0 ]->getReason ()
3939 );
4040
You can’t perform that action at this time.
0 commit comments