Skip to content

Commit 3aac1ed

Browse files
committed
Fix CI
1 parent 2ae8764 commit 3aac1ed

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/build.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ on:
1212
jobs:
1313
tests:
1414
runs-on: ubuntu-latest
15-
15+
1616
name: "Sylius ${{ matrix.sylius }}, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}, MySQL ${{ matrix.mysql }}"
1717

1818
strategy:
@@ -35,7 +35,7 @@ jobs:
3535
with:
3636
php-version: "${{ matrix.php }}"
3737
extensions: intl
38-
tools: symfony, composer-require-checker, composer-unused, flex
38+
tools: composer-require-checker, composer-unused, flex, symfony
3939
coverage: none
4040

4141
- name: Setup Node
@@ -55,6 +55,12 @@ jobs:
5555
- name: Output PHP version for Symfony CLI
5656
run: php -v | head -n 1 | awk '{ print $2 }' > .php-version
5757

58+
- name: Install certificates
59+
run: symfony server:ca:install
60+
61+
- name: Run Chrome Headless
62+
run: google-chrome-stable --enable-automation --disable-background-networking --no-default-browser-check --no-first-run --disable-popup-blocking --disable-default-apps --allow-insecure-localhost --disable-translate --disable-extensions --no-sandbox --enable-features=Metal --headless --remote-debugging-port=9222 --window-size=2880,1800 --proxy-server='direct://' --proxy-bypass-list='*' http://127.0.0.1 > /dev/null 2>&1 &
63+
5864
- name: Validate composer.json
5965
run: composer validate --ansi --strict
6066

@@ -134,12 +140,6 @@ jobs:
134140
- name: Run PHPUnit
135141
run: vendor/bin/phpunit --colors=always
136142

137-
- name: Install certificates
138-
run: symfony server:ca:install
139-
140-
- name: Run Chrome Headless
141-
run: google-chrome-stable --enable-automation --disable-background-networking --no-default-browser-check --no-first-run --disable-popup-blocking --disable-default-apps --allow-insecure-localhost --disable-translate --disable-extensions --no-sandbox --enable-features=Metal --headless --remote-debugging-port=9222 --window-size=2880,1800 --proxy-server='direct://' --proxy-bypass-list='*' http://127.0.0.1 > /dev/null 2>&1 &
142-
143143
- name: Run webserver
144144
run: symfony server:start --port=8080 --daemon
145145

behat.yml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ default:
1919
screenshot: true
2020

2121
Behat\MinkExtension:
22-
files_path: "%paths.base%/vendor/sylius/test-application/fixtures/"
22+
files_path: "%paths.base%/vendor/sylius/sylius/src/Sylius/Behat/Resources/fixtures/"
2323
base_url: "https://127.0.0.1:8080/"
2424
default_session: symfony
2525
javascript_session: chromedriver

0 commit comments

Comments
 (0)