Skip to content

Commit 9b42f13

Browse files
committed
[Tests] Fix functional tests Turbo
1 parent ed37089 commit 9b42f13

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

.github/workflows/functional-tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,12 @@ jobs:
5656
php-version: ${{ matrix.php-version }}
5757
tools: flex
5858

59+
- name: Install root dependencies
60+
run: composer install
61+
62+
- name: Build root packages
63+
run: php .github/build-packages.php
64+
5965
- name: Install dependencies with composer
6066
working-directory: src/Turbo
6167
run: |

src/Turbo/phpunit.xml.dist

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,11 @@
1212
<ini name="error_reporting" value="-1"/>
1313
<env name="SHELL_VERBOSITY" value="-1"/>
1414
<env name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&amp;max[direct]=0"/>
15+
<env name="APP_ENV" value="test" force="true" />
16+
<env name="APP_DEBUG" value="true" force="true" />
1517
<env name="KERNEL_CLASS" value="App\Kernel"/>
16-
<env name="PANTHER_WEB_SERVER_DIR" value="./tests/app/public"/>
18+
<server name="PANTHER_WEB_SERVER_DIR" value="./tests/app/public"/>
19+
<server name="PANTHER_DEVTOOLS" value="0"/>
1720
</php>
1821

1922
<testsuites>

0 commit comments

Comments
 (0)