From 3f057b099b3c50f21c81af79b9650bad74f8410c Mon Sep 17 00:00:00 2001 From: Alec Geatches Date: Wed, 22 May 2024 14:44:35 -0600 Subject: [PATCH] Use correct WP version in tests, remove "latest" matrix run --- .github/workflows/php-tests.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/php-tests.yml b/.github/workflows/php-tests.yml index de1be855..1168907f 100644 --- a/.github/workflows/php-tests.yml +++ b/.github/workflows/php-tests.yml @@ -24,10 +24,6 @@ jobs: - php: 'latest' wp: 'latest' allowed_failure: false - # Check upcoming WP with the highest supported PHP. - - php: 'latest' - wp: 'trunk' - allowed_failure: false steps: - name: Checkout code @@ -63,6 +59,8 @@ jobs: - name: Setup wp-env run: wp-env start + env: + WP_ENV_CORE: WordPress/WordPress#${{ matrix.wp }} - name: Run PHPUnit tests (single site) run: composer integration