WordPress.org

Make WordPress Core

Opened 4 years ago

Last modified 7 months ago

#36190 new defect (bug)

Support running grunt phpunit tasks inside Vagrant environments

Reported by: netweb Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Build/Test Tools Keywords: needs-patch
Focuses: Cc:

Description

Via @ocean90 in ticket:35557#comment:22

It would be awesome if the phpunit task would run in Vagrant, see https://github.com/xwp/wp-dev-lib/blob/f95a6e9e60fc261af655be929cee637e93149f41/check-diff.sh#L532-L552. :-)

Currently if your not SSH'd inside the Vagrant environment and working on files locally on the operating system side (not inside the virtual machine) then the grunt phpunit tasks will fail.

We should use something similar to the xwp/wp-dev-lib code linked above so that if a Vagrant environment is detected then the grunt phpunit and default, ajax, multisite, and external-http sub tasks and configurations will be passed through via SSH to inside the Vagrant environment.

Change History (0)

Note: See TracTickets for help on using tickets.