woocommerce / woocommerce-google-analytics-integration

WordPress plugin: Provides the integration between WooCommerce and Google Analytics.
http://wordpress.org/plugins/woocommerce-google-analytics-integration/
170 stars 69 forks source link

Add a manual workflow run for PHP unit tests #414

Closed mikkamp closed 5 months ago

mikkamp commented 5 months ago

Changes proposed in this Pull Request:

This PR allows us to run the PHP unit tests manually for any version of PHP / WP / WC. This makes it easier to test release candidates / beta versions without needing to setup the environment locally. The intention is for this to be used during compatibility testing, once this PR is approved we can do the same for other extension we manage.

I've also edited the recommended spacing for YAML files to the editor config, to ensure we stick to consistent spacing.

Detailed test instructions:

A manual workflow can't be triggered until this branch is merged. So testing will need to be done on a fork.

  1. Create a fork of this repo
  2. Merge the corresponding branch (with a PR or directly)
  3. Run the manual workflow using release candidate versions of WP and WC
  4. Confirm the single job PHP unit tests (for Release Candidates) completed successfully image

Changelog entry