Skip to content

Commit f225007

Browse files
adjust composer.json and build script
1 parent 5737f95 commit f225007

File tree

3 files changed

+229
-263
lines changed

3 files changed

+229
-263
lines changed

.github/workflows/github-release.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,12 @@ jobs:
4545
fi
4646
4747
test:
48+
strategy:
49+
matrix:
50+
php-version: ["8.2", "8.3"]
4851
runs-on: ubuntu-latest
4952
container:
50-
image: mcr.microsoft.com/devcontainers/php:1-8.2-bullseye
53+
image: mcr.microsoft.com/devcontainers/php:1-${{ matrix.php-version }}-bullseye
5154
steps:
5255
- uses: actions/checkout@v4
5356
- name: composer install

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
},
3333
"require-dev": {
3434
"johnpbloch/wordpress": "6.7.1",
35-
"phpunit/phpunit": "^12.0",
35+
"phpunit/phpunit": "^12.0 || ^11.0",
3636
"wp-coding-standards/wpcs": "^3.1",
3737
"symfony/finder": "^7.1"
3838
}

0 commit comments

Comments
 (0)