|
12 | 12 | jobs: |
13 | 13 | tests: |
14 | 14 | runs-on: ubuntu-latest |
15 | | - |
| 15 | + |
16 | 16 | name: "Sylius ${{ matrix.sylius }}, PHP ${{ matrix.php }}, Symfony ${{ matrix.symfony }}, MySQL ${{ matrix.mysql }}" |
17 | 17 |
|
18 | 18 | strategy: |
|
35 | 35 | with: |
36 | 36 | php-version: "${{ matrix.php }}" |
37 | 37 | extensions: intl |
38 | | - tools: symfony, composer-require-checker, composer-unused, flex |
| 38 | + tools: composer-require-checker, composer-unused, flex, symfony |
39 | 39 | coverage: none |
40 | 40 |
|
41 | 41 | - name: Setup Node |
|
55 | 55 | - name: Output PHP version for Symfony CLI |
56 | 56 | run: php -v | head -n 1 | awk '{ print $2 }' > .php-version |
57 | 57 |
|
| 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 | + |
58 | 64 | - name: Validate composer.json |
59 | 65 | run: composer validate --ansi --strict |
60 | 66 |
|
@@ -134,12 +140,6 @@ jobs: |
134 | 140 | - name: Run PHPUnit |
135 | 141 | run: vendor/bin/phpunit --colors=always |
136 | 142 |
|
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 | | - |
143 | 143 | - name: Run webserver |
144 | 144 | run: symfony server:start --port=8080 --daemon |
145 | 145 |
|
|
0 commit comments