mirror of
https://github.com/wp-graphql/wp-graphql-woocommerce.git
synced 2026-08-14 12:53:44 +02:00
* devops: Name officially changed to "WPGraphQL for WooCommerce" * devops: GA workflow environment updated * devops: GA workflow environment updated * devops: composer-git-hooks downgraded to "2.8.5" * devops: Unstable session manager tests skipped * chore: cleanup applied * devops: Docker configurations updated * devops: Docker configurations updated * devops: Docker configurations updated * devops: Docker configurations updated * devops: Docker configurations updated
54 lines
1.8 KiB
YAML
54 lines
1.8 KiB
YAML
modules:
|
|
config:
|
|
\Tests\WPGraphQL\Codeception\Module\WPGraphQL:
|
|
endpoint: '%WORDPRESS_URL%/graphql'
|
|
WPDb:
|
|
dsn: 'mysql:host=testing_db;dbname=wordpress'
|
|
user: wordpress
|
|
password: password
|
|
populator: 'mysql -u $user -p$password -h $host $dbname < $dump'
|
|
dump: 'tests/_data/app_db.sql'
|
|
populate: true
|
|
cleanup: false
|
|
waitlock: 10
|
|
url: '%WORDPRESS_URL%'
|
|
urlReplacement: true
|
|
tablePrefix: 'wp_'
|
|
WPBrowser:
|
|
url: '%WORDPRESS_URL%'
|
|
wpRootFolder: /var/www/html
|
|
adminUsername: admin
|
|
adminPassword: password
|
|
adminPath: '/wp-admin'
|
|
REST:
|
|
depends: WPBrowser
|
|
url: '%WORDPRESS_URL%'
|
|
WPFilesystem:
|
|
wpRootFolder: '/var/www/html'
|
|
plugins: '/wp-content/plugins'
|
|
mu-plugins: '/wp-content/mu-plugins'
|
|
themes: '/wp-content/themes'
|
|
uploads: '/wp-content/uploads'
|
|
WPLoader:
|
|
wpRootFolder: '/var/www/html'
|
|
dbName: wordpress
|
|
dbHost: testing_db
|
|
dbUser: wordpress
|
|
dbPassword: password
|
|
tablePrefix: wp_
|
|
domain: '%WORDPRESS_DOMAIN%'
|
|
adminEmail: 'admin@example.com'
|
|
title: 'WPGraphQL for WooCommerce Tests'
|
|
plugins:
|
|
- woocommerce/woocommerce.php
|
|
- woocommerce-gateway-stripe/woocommerce-gateway-stripe.php
|
|
- wp-graphql/wp-graphql.php
|
|
- wp-graphql-jwt-authentication/wp-graphql-jwt-authentication.php
|
|
- wp-graphql-woocommerce/wp-graphql-woocommerce.php
|
|
activatePlugins:
|
|
- woocommerce/woocommerce.php
|
|
- woocommerce-gateway-stripe/woocommerce-gateway-stripe.php
|
|
- wp-graphql/wp-graphql.php
|
|
- wp-graphql-jwt-authentication/wp-graphql-jwt-authentication.php
|
|
- wp-graphql-woocommerce/wp-graphql-woocommerce.php
|
|
configFile: 'tests/_data/config.php' |