Skip to content

Commit

Permalink
devops: More CI fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
kidunot89 committed May 20, 2024
1 parent d2b9f22 commit 87b26ed
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
8 changes: 4 additions & 4 deletions tests/_envs/docker.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
modules:
config:
WPDb:
\lucatume\WPBrowser\Module\WPDb:
dsn: 'mysql:host=testing_db;dbname=wordpress'
user: wordpress
password: password
Expand All @@ -12,7 +12,7 @@ modules:
url: '%WORDPRESS_URL%'
urlReplacement: true
tablePrefix: 'wp_'
WPBrowser:
\lucatume\WPBrowser\Module\WPBrowser:
url: '%WORDPRESS_URL%'
wpRootFolder: /var/www/html
adminUsername: admin
Expand All @@ -21,13 +21,13 @@ modules:
REST:
depends: WPBrowser
url: '%WORDPRESS_URL%'
WPFilesystem:
\lucatume\WPBrowser\Module\WPFilesystem:
wpRootFolder: '/var/www/html'
plugins: '/wp-content/plugins'
mu-plugins: '/wp-content/mu-plugins'
themes: '/wp-content/themes'
uploads: '/wp-content/uploads'
WPLoader:
\lucatume\WPBrowser\Module\WPLoader:
wpRootFolder: '/var/www/html'
dbName: wordpress
dbHost: testing_db
Expand Down
3 changes: 2 additions & 1 deletion tests/acceptance.suite.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ modules:
user: '%DB_USER%'
password: '%DB_PASSWORD%'
dump: 'local/db/app_db.sql'
populate: true
populate: false
cleanup: true
waitlock: 10
url: '%WORDPRESS_URL%'
Expand All @@ -53,6 +53,7 @@ modules:
wpRootFolder: '%WP_ROOT_FOLDER%'
dbUrl: 'mysql://%DB_USER%:%DB_PASSWORD%@%DB_HOST%:%DB_PORT%/%DB_NAME%'
domain: '%WORDPRESS_DOMAIN%'
configFile: 'tests/_data/e2e-config.php'
# plugins:
# - woocommerce/woocommerce.php
# - woocommerce-gateway-stripe/woocommerce-gateway-stripe.php
Expand Down
2 changes: 1 addition & 1 deletion tests/functional.suite.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ modules:
user: '%DB_USER%'
password: '%DB_PASSWORD%'
dump: 'local/db/app_db.sql'
populate: true
populate: false
cleanup: true
waitlock: 10
url: '%WORDPRESS_URL%'
Expand Down

0 comments on commit 87b26ed

Please sign in to comment.