Skip to content

Commit 9a22a06

Browse files
committed
Fix for codeception failures.
1 parent 962ff8b commit 9a22a06

File tree

2 files changed

+7
-11
lines changed

2 files changed

+7
-11
lines changed

.github/workflows/codeception.yml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,16 +30,6 @@ jobs:
3030
- php: "8.2"
3131
wordpress: "6.8"
3232
coverage: 1
33-
exclude:
34-
# New WP versions that do not support older PHP versions
35-
- php: "8.0"
36-
wordpress: "6.8"
37-
- php: "8.0"
38-
wordpress: "6.7"
39-
- php: "8.0"
40-
wordpress: "6.6"
41-
- php: "8.0"
42-
wordpress: "6.5"
4333
fail-fast: false
4434

4535
steps:
@@ -53,6 +43,12 @@ jobs:
5343
plugin=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep '^plugins/' | head -1 | cut -d/ -f2)
5444
echo "slug=$plugin" >> $GITHUB_OUTPUT
5545
46+
- name: Validate composer.json
47+
run: |
48+
if [ ! -f "plugins/${{ steps.plugin.outputs.slug }}/composer.json" ]; then
49+
echo "Warning: composer.json missing in plugins/${{ steps.plugin.outputs.slug }}"
50+
fi
51+
5652
- name: Run Codeception Tests
5753
uses: ./.github/actions/codeception
5854
with:

plugins/hwp-previews/.docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
ARG WP_VERSION
88
ARG PHP_VERSION
99

10-
FROM wordpress:${WP_VERSION:-6.8}-php${PHP_VERSION:-7.4}
10+
FROM wordpress:${WP_VERSION:-6.8}-php${PHP_VERSION:-8.2}
1111

1212
# Needed to specify the build args again after the FROM command.
1313
ARG WP_VERSION

0 commit comments

Comments
 (0)