Commit Graph

122 Commits

Author SHA1 Message Date
roykho 45a036f35b
Match minor and patch 2022-05-02 10:08:52 -07:00
roykho f2e4a686f1
Lock pnpm to specific version 2022-05-02 09:39:40 -07:00
roykho 57c1c0bc1c
Freeze Ubuntu release to 20.04 for best practice and consistency 2022-04-26 18:28:56 -07:00
roykho fc705cff77
Use glob pattern for hash key 2022-04-26 07:47:50 -07:00
roykho bd096a6edc
Use glob pattern to cache multiple nested Composer vendor paths 2022-04-26 07:07:15 -07:00
roykho 6e5d61da0b
Test pr smoke test workflow 2022-04-21 11:29:53 -07:00
Paul Sealock ab673dd14b Call Core's script from root level 2022-04-06 15:27:37 +12:00
Nestor Soriano 25bf59d5e7
Merge branch 'trunk' into bump-required-php-to-7.2 2022-03-29 10:45:07 +02:00
Christopher Allford 14e852b4b2
Merge WooCommerce Admin Unit Tests (#32287)
This folds the unit tests from WooCommerce Admin into the core test suite, enabling them to run.
2022-03-28 12:53:33 -07:00
Nestor Soriano 819494f2ed
Bump WooCommerce minimum required PHP version to 7.2
This includes:

- Changing "Requires PHP" in woocommerce.php
- Changing "require-php" and "config-platform-php" in composer.json
- Bumping pelago/emogrifier to ^6.0 in composer.json
- Bumping maxmind-db/reader to ^1.6 in composer.json
- Bumping composer/installers to ^1.9 in composer.json
  (bump to 2.0 not possible due to conflict with Admin package)
- Removing jobs for 7.0/.1 unit test runs in CI
- Explicitly specifying the PHPUnit version to be 7.5,
  otherwise it will install v8 which isn't compatible with
  WordPress <5.9
2022-03-24 14:08:11 +01:00
Chi-Hsuan Huang a720ccb42a Add "Build Admin feature config" step to ci.yml 2022-03-24 14:00:43 +08:00
Felipe Santos a8679b041d
Update the WP version for tests and WooCommerce 2022-03-03 11:38:27 +00:00
roykho f15f75e9cf
No need to install Nx globally 2021-11-17 08:54:14 -08:00
roykho f940d049d6
Use Nx commands for CI 2021-11-16 18:17:35 -08:00
roykho 27127ea1fc Fix directory path for CI workflow 2021-10-19 10:35:47 +13:00
Nestor Soriano 0ae984e6cc
Fix unit tests failing in PHP 8 in CI
The problem was that PHP 8 requires setting up a different version of
PHPUnit, and after doing that two versions were in place, one in
'vendor/phpunit' and another one in 'bin/composer/phpunit'; the
autoloader was picking the former but it should pick the later.
2021-08-24 15:36:06 +02:00
Claudio Sanches 37068f198f Improve continue on error 2021-08-09 13:55:53 -03:00
Claudio Sanches 175cc34ee7 Allow failures for WP nightly unit tests 2021-08-09 13:41:53 -03:00
Claudio Sanches 9a9a855701 Update conditional 2021-08-09 13:22:01 -03:00
Claudio Sanches ef9f511387 Run composer update for wp nightly 2021-08-09 13:00:29 -03:00
Claudio Sanches 4fea3f4dc1 Update unit test WP matrix 2021-08-09 12:33:39 -03:00
Claudio Sanches 87a18620eb Added workflow to run CI in trunk and release/** branches 2021-03-13 21:29:15 -03:00