From 8c0785ec4fe479cea125b9d6656a3307bb96790f Mon Sep 17 00:00:00 2001 From: Pollora maintainer Date: Thu, 26 Nov 2026 18:55:46 +0100 Subject: [PATCH] ci: run the WordPress integration job, on harness v0.1.39 --- .github/workflows/harness.yml | 7 ++++++- .github/workflows/tests.yml | 4 +++- composer.json | 2 +- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/harness.yml b/.github/workflows/harness.yml index 6476173..0dabca2 100644 --- a/.github/workflows/harness.yml +++ b/.github/workflows/harness.yml @@ -14,6 +14,11 @@ permissions: {} jobs: harness: - uses: Pollora/harness/.github/workflows/php-package.yml@v0.1.35 + uses: Pollora/harness/.github/workflows/php-package.yml@v0.1.39 + with: + # Runs the integration suite against a real WordPress and a real MySQL (job "WordPress integration"). The job + # starts it through the test:integration script of composer.json. + wordpress-integration: tests/WordPress + wordpress-plugins: action-scheduler permissions: contents: read diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 486d06f..cf73c55 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -56,12 +56,14 @@ jobs: - name: Run PHPStan run: composer phpstan:ci + # The latest WordPress is covered by the "WordPress integration" job of the harness (harness.yml, same + # `test:integration` script, with Action Scheduler). This job only keeps the early warning against the nightly build. wordpress: runs-on: ubuntu-latest strategy: fail-fast: false matrix: - wordpress: ['latest', 'nightly'] + wordpress: ['nightly'] name: WordPress ${{ matrix.wordpress }} diff --git a/composer.json b/composer.json index c99318a..64edce2 100644 --- a/composer.json +++ b/composer.json @@ -19,7 +19,7 @@ "mockery/mockery": "^1.6", "pestphp/pest": "^v3.8.2", "phpstan/phpstan": "^2.1.16", - "pollora/harness": "^0.1.35", + "pollora/harness": "^0.1.39", "szepeviktor/phpstan-wordpress": "^2.0" }, "suggest": {