Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/harness.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
4 changes: 3 additions & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
Loading