Skip to content

Commit

Permalink
Github actions fix (#427)
Browse files Browse the repository at this point in the history
* Fix composer dependencies

* Fix phpstan memory leak

* Update behat configuration

* Set socket_timeout in chrome headless in file behat.yml.dist

* Enable sylius_api for the sylius 1.9 in _sylius.yaml
  • Loading branch information
liszkapawel authored Apr 27, 2022
1 parent a8e180b commit 9f4b386
Show file tree
Hide file tree
Showing 4 changed files with 25 additions and 3 deletions.
19 changes: 19 additions & 0 deletions behat.yml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,25 @@ default:
chrome:
api_url: http://127.0.0.1:9222
validate_certificate: false
socket_timeout: 60
chrome:
selenium2:
browser: chrome
capabilities:
browserName: chrome
browser: chrome
version: ""
marionette: null # https://github.com/Behat/MinkExtension/pull/311
chrome:
switches:
- "start-fullscreen"
- "start-maximized"
- "no-sandbox"
extra_capabilities:
unexpectedAlertBehaviour: accept
firefox:
selenium2:
browser: firefox
show_auto: false

FriendsOfBehat\SymfonyExtension:
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"require-dev": {
"behat/behat": "^3.7",
"behat/mink-selenium2-driver": "^1.4",
"bitbag/coding-standard": "dev-main",
"bitbag/coding-standard": "^1.0",
"dmore/behat-chrome-extension": "^1.3",
"dmore/chrome-mink-driver": "^2.7",
"friends-of-behat/mink": "^1.8",
Expand All @@ -34,7 +34,7 @@
"friendsofsymfony/oauth-server-bundle": "^1.6 || >2.0.0-alpha.0 ^2.0@dev",
"phpspec/phpspec": "^7.0",
"phpstan/extension-installer": "^1.0",
"phpstan/phpstan": "0.12.82",
"phpstan/phpstan": "0.12.99",
"phpstan/phpstan-doctrine": "0.12.33",
"phpstan/phpstan-strict-rules": "^0.12.0",
"phpstan/phpstan-webmozart-assert": "0.12.12",
Expand Down
3 changes: 2 additions & 1 deletion phpstan.neon
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ parameters:
- 'src/Importer/AbstractImporter'
- 'tests/Application/config/bootstrap.php'
- 'tests/Fixture/PageFixtureTest.php'
- 'src/Controller/Helper'
ignoreErrors:
- '#.*NodeParentInterface.*#'
- '#.*PHPDoc tag @throws with type Exception|Psr\Container\ContainerExceptionInterface is not subtype of Throwable.*#'
- '#.*PHPDoc tag @throws with type Exception|Psr\Container\ContainerExceptionInterface is not subtype of Throwable.*#'
2 changes: 2 additions & 0 deletions tests/Application/config/sylius/1.9/packages/_sylius.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
sylius_api:
enabled: true

0 comments on commit 9f4b386

Please sign in to comment.