wp-phpunit / issues

Central issues repository for wp-phpunit
0 stars 0 forks source link

Support for nightly builds #10

Open johnbillion opened 3 years ago

johnbillion commented 3 years ago

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 a nightly 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!

aaemnnosttv commented 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 😄

swissspidy commented 1 year ago

Can we help with this in any way?

aaemnnosttv commented 1 year ago

Thanks for asking @swissspidy – I think a PR to https://github.com/wp-phpunit/build would be a big help 👍

swissspidy commented 1 year ago

Here goes nothing: https://github.com/wp-phpunit/build/pull/5

aaemnnosttv commented 1 year ago

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 😇