[wp-trac] [WordPress Trac] #36190: Support running grunt phpunit tasks inside Vagrant environments
WordPress Trac
noreply at wordpress.org
Thu Mar 10 01:32:29 UTC 2016
#36190: Support running grunt phpunit tasks inside Vagrant environments
------------------------------+-----------------------------
Reporter: netweb | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Build/Test Tools | Version:
Severity: normal | Keywords: needs-patch
Focuses: |
------------------------------+-----------------------------
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.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/36190>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list