Skip to content

Commit

Permalink
[Turbo][Tests] debug
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocal committed Oct 3, 2024
1 parent b0f7da9 commit b2f53e1
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 3 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/test-turbo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -96,3 +96,12 @@ jobs:
vendor/bin/simple-phpunit
env:
SYMFONY_DEPRECATIONS_HELPER: 'max[self]=1'

- name: Upload Panther error screenshots
if: ${{ always() }}
uses: actions/upload-artifact@v4
with:
name: Panther error screenshots (PHP ${{ matrix.php-version }}, Deps ${{ matrix.dependency-version }})
path: src/Turbo/tests/app/var/error-screenshots
if-no-files-found: ignore
retention-days: 3
1 change: 0 additions & 1 deletion src/Turbo/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@
"symfony/ux-twig-component": "^2.21",
"symfony/twig-bundle": "^6.4|^7.0",
"symfony/web-profiler-bundle": "^5.4|^6.0|^7.0",
"symfony/webpack-encore-bundle": "^2.1.1",
"symfony/expression-language": "^5.4|^6.0|^7.0",
"dbrekelmans/bdi": "dev-main"
},
Expand Down
1 change: 1 addition & 0 deletions src/Turbo/phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
<server name="KERNEL_CLASS" value="App\Kernel" />
<server name="PANTHER_WEB_SERVER_DIR" value="./tests/app/public" />
<server name="SYMFONY_DEPRECATIONS_HELPER" value="max[self]=0&amp;max[direct]=0"/>
<server name="PANTHER_ERROR_SCREENSHOT_DIR" value="./tests/app/var/error-screenshots"/>
</php>

<testsuites>
Expand Down
2 changes: 0 additions & 2 deletions src/Turbo/tests/app/Kernel.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ public function registerBundles(): iterable
yield new MercureBundle();
yield new TwigComponentBundle();
yield new TurboBundle();
yield new WebpackEncoreBundle();
yield new StimulusBundle();
yield new WebProfilerBundle();
yield new DebugBundle();
Expand Down Expand Up @@ -111,7 +110,6 @@ protected function configureContainer(ContainerConfigurator $container): void
$container
->extension('doctrine', $doctrineConfig);

$container->extension('webpack_encore', ['output_path' => 'build']);
$container->extension('web_profiler', [
'toolbar' => true,
'intercept_redirects' => false,
Expand Down

0 comments on commit b2f53e1

Please sign in to comment.