Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: update wp-browser, codeception to latest versions #3059

Draft
wants to merge 12 commits into
base: develop
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 3 additions & 6 deletions codeception.dist.yml
Expand Up @@ -27,12 +27,6 @@ extensions:
- Codeception\Extension\RunFailed
commands:
- Codeception\Command\GenerateWPUnit
- Codeception\Command\GenerateWPRestApi
- Codeception\Command\GenerateWPRestController
- Codeception\Command\GenerateWPRestPostTypeController
- Codeception\Command\GenerateWPAjax
- Codeception\Command\GenerateWPCanonical
- Codeception\Command\GenerateWPXMLRPC
modules:
config:
WPDb:
Expand Down Expand Up @@ -64,6 +58,9 @@ modules:
themes: '/wp-content/themes'
uploads: '/wp-content/uploads'
WPLoader:
backupGlobals: true
backupStaticAttributes: true
WP_HTTP_BLOCK_EXTERNAL: false
wpRootFolder: '%WP_ROOT_FOLDER%'
dbName: '%DB_NAME%'
dbHost: '%DB_HOST%'
Expand Down
10 changes: 4 additions & 6 deletions codeception.yml
Expand Up @@ -14,6 +14,7 @@ settings:
coverage:
enabled: true
remote: false
path_coverage: false
c3_url: '%WP_URL%/wp-content/plugins/wp-graphql/wp-graphql.php'
include:
- src/*
Expand All @@ -26,12 +27,6 @@ extensions:
- Codeception\Extension\RunFailed
commands:
- Codeception\Command\GenerateWPUnit
- Codeception\Command\GenerateWPRestApi
- Codeception\Command\GenerateWPRestController
- Codeception\Command\GenerateWPRestPostTypeController
- Codeception\Command\GenerateWPAjax
- Codeception\Command\GenerateWPCanonical
- Codeception\Command\GenerateWPXMLRPC
modules:
config:
WPDb:
Expand Down Expand Up @@ -63,6 +58,9 @@ modules:
themes: '/wp-content/themes'
uploads: '/wp-content/uploads'
WPLoader:
backupGlobals: true
backupStaticAttributes: true
WP_HTTP_BLOCK_EXTERNAL: false
multisite: '%MULTISITE%'
wpRootFolder: '%TEST_WP_ROOT_FOLDER%'
dbName: '%TEST_DB_NAME%'
Expand Down
24 changes: 12 additions & 12 deletions composer.json
Expand Up @@ -22,36 +22,36 @@
}
],
"require": {
"php": "^7.1 || ^8.0",
"php": "^8.0",
"webonyx/graphql-php": "14.11.10",
"ivome/graphql-relay-php": "0.7.0",
"appsero/client": "1.2.1"
},
"require-dev": {
"automattic/vipwpcs": "^3.0",
"codeception/module-asserts": "^1.0",
"codeception/module-cli": "^1.0",
"codeception/module-db": "^1.0",
"codeception/module-filesystem": "^1.0",
"codeception/module-phpbrowser": "^1.0",
"codeception/module-rest": "^1.2",
"codeception/module-webdriver": "^1.0",
"codeception/module-asserts": "^2.0 || ^3.0",
"codeception/module-cli": "^2.0 || ^3.0",
"codeception/module-db": "^2.0 || ^3.0",
"codeception/module-filesystem": "^2.0 || ^3.0",
"codeception/module-phpbrowser": "^2.0 || ^3.0",
"codeception/module-rest": "^2.0 || ^3.0",
"codeception/module-webdriver": "^2.0 || ^3.0",
"codeception/util-universalframework": "^1.0",
"lucatume/wp-browser": "^3.1.6",
"lucatume/wp-browser": "^4.0",
"phpcompatibility/phpcompatibility-wp": "^2.1",
"phpcompatibility/php-compatibility": "dev-develop as 9.9.9",
"phpstan/extension-installer": "^1.1",
"phpstan/phpstan": "~1.10.18",
"phpunit/phpunit": "^9.5",
"simpod/php-coveralls-mirror": "^3.0",
"php-coveralls/php-coveralls": "^2.2",
"slevomat/coding-standard": "^8.9",
"szepeviktor/phpstan-wordpress": "~1.3.0",
"wp-graphql/wp-graphql-testcase": "~2.3",
"wp-graphql/wp-graphql-testcase": "dev-develop",
"wp-cli/wp-cli-bundle": "^2.8"
},
"config": {
"platform": {
"php": "7.3"
"php": "8.1.24"
},
"optimize-autoloader": true,
"process-timeout": 0,
Expand Down