Skip to content

Commit 240a189

Browse files
authored
Merge pull request #1 from woocommerce/claude/recursing-rubin-6ef75a
Scope hey-woo-tests mapping to the tests environment only
2 parents bad6f99 + bcc4def commit 240a189

3 files changed

Lines changed: 27 additions & 14 deletions

File tree

.wp-env.json

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
"core": "WordPress/WordPress#6.9",
33
"plugins": ["https://downloads.wordpress.org/plugin/woocommerce.zip"],
44
"mappings": {
5-
"wp-content/plugins/hey-woo-tests": ".",
65
"wp-content/plugins/hey-woo": ".",
76
"wp-content/mu-plugins": "./tools/mu-plugins"
87
},
@@ -13,5 +12,12 @@
1312
},
1413
"lifecycleScripts": {
1514
"afterStart": "wp-env run cli -- wp option update woocommerce_feature_mcp_integration_enabled yes && wp-env run cli -- wp plugin activate woocommerce hey-woo && wp-env run cli -- wp wc tool run install_pages --user=admin && wp-env run cli -- wp option update woocommerce_store_address '123 Main Street' && wp-env run cli -- wp option update woocommerce_store_city 'London' && wp-env run cli -- wp option update woocommerce_store_postcode 'EC1A 1BB' && wp-env run cli -- wp option update woocommerce_default_country 'GB' && wp-env run cli -- wp option update woocommerce_currency 'GBP'"
15+
},
16+
"env": {
17+
"tests": {
18+
"mappings": {
19+
"wp-content/plugins/hey-woo-tests": "."
20+
}
21+
}
1622
}
1723
}

composer.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
"allow-plugins": {
1919
"dealerdirect/phpcodesniffer-composer-installer": true
2020
},
21+
"platform": {
22+
"php": "7.4.0"
23+
},
2124
"audit": {
2225
"ignore": {
2326
"PKSA-5jz8-6tcw-pbk4": "PHPUnit is a test-only dev dependency; advisory does not affect production code paths.",

composer.lock

Lines changed: 17 additions & 13 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)