File tree 5 files changed +16
-5
lines changed 5 files changed +16
-5
lines changed Original file line number Diff line number Diff line change 84
84
- name : Install JavaScript dependencies
85
85
working-directory : src/Turbo/tests/app
86
86
run : php public/index.php importmap:install
87
+
88
+ - name : Compile assets
89
+ working-directory : src/Turbo/tests/app
90
+ run : php public/index.php asset-map:compile
87
91
88
92
- name : Create DB
89
93
working-directory : src/Turbo/tests/app
@@ -96,3 +100,12 @@ jobs:
96
100
vendor/bin/simple-phpunit
97
101
env :
98
102
SYMFONY_DEPRECATIONS_HELPER : ' max[self]=1'
103
+
104
+ - name : Upload Panther error screenshots
105
+ if : ${{ always() }}
106
+ uses : actions/upload-artifact@v4
107
+ with :
108
+ name : Panther error screenshots (PHP ${{ matrix.php-version }}, Deps ${{ matrix.dependency-version }})
109
+ path : src/Turbo/tests/app/var/error-screenshots
110
+ if-no-files-found : ignore
111
+ retention-days : 3
Original file line number Diff line number Diff line change 5
5
/composer.lock
6
6
/phpunit.xml
7
7
/vendor /
8
+ /drivers /
8
9
/tests /app /assets /vendor /
9
10
/tests /app /var /
10
- /tests /app /public /build /
11
- node_modules /
11
+ /tests /app /public /assets /
Original file line number Diff line number Diff line change 56
56
"symfony/ux-twig-component" : " ^2.21" ,
57
57
"symfony/twig-bundle" : " ^6.4|^7.0" ,
58
58
"symfony/web-profiler-bundle" : " ^5.4|^6.0|^7.0" ,
59
- "symfony/webpack-encore-bundle" : " ^2.1.1" ,
60
59
"symfony/expression-language" : " ^5.4|^6.0|^7.0" ,
61
60
"dbrekelmans/bdi" : " dev-main"
62
61
},
Original file line number Diff line number Diff line change 15
15
<server name =" KERNEL_CLASS" value =" App\Kernel" />
16
16
<server name =" PANTHER_WEB_SERVER_DIR" value =" ./tests/app/public" />
17
17
<server name =" SYMFONY_DEPRECATIONS_HELPER" value =" max[self]=0& max[direct]=0" />
18
+ <server name =" PANTHER_ERROR_SCREENSHOT_DIR" value =" ./tests/app/var/error-screenshots" />
18
19
</php >
19
20
20
21
<testsuites >
Original file line number Diff line number Diff line change @@ -57,7 +57,6 @@ public function registerBundles(): iterable
57
57
yield new MercureBundle ();
58
58
yield new TwigComponentBundle ();
59
59
yield new TurboBundle ();
60
- yield new WebpackEncoreBundle ();
61
60
yield new StimulusBundle ();
62
61
yield new WebProfilerBundle ();
63
62
yield new DebugBundle ();
@@ -111,7 +110,6 @@ protected function configureContainer(ContainerConfigurator $container): void
111
110
$ container
112
111
->extension ('doctrine ' , $ doctrineConfig );
113
112
114
- $ container ->extension ('webpack_encore ' , ['output_path ' => 'build ' ]);
115
113
$ container ->extension ('web_profiler ' , [
116
114
'toolbar ' => true ,
117
115
'intercept_redirects ' => false ,
You can’t perform that action at this time.
0 commit comments