WordPress / phpunit-test-reporter

GNU General Public License v3.0
29 stars 21 forks source link

Trigger Travis jobs when a new changeset is reported #19

Open danielbachhuber opened 7 years ago

danielbachhuber commented 7 years ago

It should be possible for the test reporter to trigger Travis jobs against each environment when a new changeset is reported.

WordPress.org SVN webhook event -> test reporter -> DreamHost, WPE, Pantheon, etc. runner repos.

Ideally, the test reporter would create mock result posts for each runner repo so you can see all of the environments about to be run.

danielbachhuber commented 6 years ago

Another idea I just had. Rather than use webhooks, which would require some public HTTP endpoint to be registered for each test runner, we could continue with the polling mechanism by:

  1. make.wordpress.org/hosting publishes an endpoint with the latest revision.
  2. Each test runner instance polls the latest revision endpoint. When the value changes from the local value, the test runner proceeds to run the tests.