Skip to content

Commit cc1bddd

Browse files
authored
Remove certificate installation from CI (#488)
The `symfony server:ca:install` step fails on GitHub Actions runners because Firefox/Chrome security databases are not found. This step is not necessary for the CI tests since we're using `--allow-insecure-localhost` flag for Chrome.
2 parents 15cca6a + a943b2f commit cc1bddd

1 file changed

Lines changed: 2 additions & 6 deletions

File tree

.github/workflows/build.yaml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929

3030
env:
3131
APP_ENV: test
32-
BEHAT_BASE_URL: "https://127.0.0.1:8080/"
32+
BEHAT_BASE_URL: "http://127.0.0.1:8080/"
3333
DATABASE_URL: "mysql://root:root@127.0.0.1/sylius?serverVersion=${{ matrix.mysql }}"
3434

3535
steps:
@@ -66,10 +66,6 @@ jobs:
6666
name: Output PHP version for Symfony CLI
6767
run: php -v | head -n 1 | awk '{ print $2 }' > .php-version
6868

69-
-
70-
name: Install certificates
71-
run: symfony server:ca:install
72-
7369
-
7470
name: Get Composer cache directory
7571
id: composer-cache
@@ -161,7 +157,7 @@ jobs:
161157

162158
-
163159
name: Run webserver
164-
run: symfony server:start --port=8080 --daemon
160+
run: symfony server:start --port=8080 --no-tls --daemon
165161

166162
-
167163
name: Run Behat

0 commit comments

Comments
 (0)