File tree Expand file tree Collapse file tree 2 files changed +7
-11
lines changed
plugins/hwp-previews/.docker Expand file tree Collapse file tree 2 files changed +7
-11
lines changed Original file line number Diff line number Diff line change 30
30
- php : " 8.2"
31
31
wordpress : " 6.8"
32
32
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"
43
33
fail-fast : false
44
34
45
35
steps :
53
43
plugin=$(git diff --name-only ${{ github.event.pull_request.base.sha }} ${{ github.sha }} | grep '^plugins/' | head -1 | cut -d/ -f2)
54
44
echo "slug=$plugin" >> $GITHUB_OUTPUT
55
45
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
+
56
52
- name : Run Codeception Tests
57
53
uses : ./.github/actions/codeception
58
54
with :
Original file line number Diff line number Diff line change 7
7
ARG WP_VERSION
8
8
ARG PHP_VERSION
9
9
10
- FROM wordpress:${WP_VERSION:-6.8}-php${PHP_VERSION:-7.4 }
10
+ FROM wordpress:${WP_VERSION:-6.8}-php${PHP_VERSION:-8.2 }
11
11
12
12
# Needed to specify the build args again after the FROM command.
13
13
ARG WP_VERSION
You can’t perform that action at this time.
0 commit comments