File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 33
33
- name : Run phpunit tests
34
34
run : |
35
35
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
37
38
- name : Run phpcs
38
39
run : composer cs
39
40
Original file line number Diff line number Diff line change 10
10
<exclude >./test/solutions</exclude >
11
11
</testsuite >
12
12
<php >
13
- <env name =" process_factory " value =" docker" force = " true " />
13
+ <env name =" PROCESS_FACTORY " value =" docker" />
14
14
</php >
15
15
</phpunit >
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ public function testThrowingWrongException(): void
34
34
self ::assertInstanceOf (Success::class, $ output ->getResults ()[1 ]);
35
35
36
36
self ::assertMatchesRegularExpression (
37
- '/Fatal error: Uncaught Exception: Access denied!/ ' ,
37
+ '/Fatal error:\s+ Uncaught Exception: Access denied!/ ' ,
38
38
$ output ->getResults ()[0 ]->getReason ()
39
39
);
40
40
You can’t perform that action at this time.
0 commit comments