Open johnbillion opened 3 years ago
Hey @johnbillion, thanks for the kind words 😄
I had thought about adding this in the past as it's currently the only limitation that prevents one from using it instead of install-wp-tests.sh
AFAIK, but I don't see any reason why it can't be done. The build already runs daily as it is so it's just a matter of adapting it to commit the latest to a trunk branch. I don't have an immediate need for it though, so it's more of a matter of time and availability 😄
Can we help with this in any way?
Thanks for asking @swissspidy – I think a PR to https://github.com/wp-phpunit/build would be a big help 👍
Here goes nothing: https://github.com/wp-phpunit/build/pull/5
Just chiming in here that I haven't forgotten about this and I do plan on moving this forward as soon as I can, just need to make sure it's well tested first 😇
Thanks again for the
wp-phpunit/wp-phpunit
package, it's very useful. Fingers crossed one day we might publish the test suite as a package from the official WordPress organisation.In the meantime, is there a way to add support for nightly builds? The
roots/wordpress
package provides this via anightly
branch which is updated daily from WordPress trunk/master.The use case is to have a test that runs on a cron event that tests my plugin against the WordPress nightly build, so I can be alerted to any potential issues before the stable release.
Cheers!