[buddypress-trac] [BuddyPress Trac] #9053: Update wp-env to version 9.0

buddypress-trac noreply at wordpress.org
Mon Jan 1 22:40:21 UTC 2024


#9053: Update wp-env to version 9.0
------------------------------+-------------------------
 Reporter:  imath             |      Owner:  netweb
     Type:  task              |     Status:  new
 Priority:  normal            |  Milestone:  14.0.0
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:  needs-patch
------------------------------+-------------------------
 This is a task I skipped on purpose in #9047 as wp-env's way of testing
 PHP has evolved. After digging more into it, I wasn't able to find the
 right use for `wp-env run tests-cli phpunit` as explained
 [https://developer.wordpress.org/block-editor/reference-guides/packages
 /packages-env/#using-composer-phpunit-and-wp-cli-tools here].

 But I was able to use the `wp-env run cli --env-cwd=wp-
 content/plugins/buddypress composer` command to run PHPUnit tests.

 I'll submit a PR to run the GH actions to see if my way of testing PHP
 with wp-env is also fine for these.

-- 
Ticket URL: <https://buddypress.trac.wordpress.org/ticket/9053>
BuddyPress Trac <http://buddypress.org/>
BuddyPress Trac


More information about the buddypress-trac mailing list