Skip to content

Commit a64cb24

Browse files
committed
update php version
1 parent 1feb5d5 commit a64cb24

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

.github/workflows/playwright.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
fail-fast: false # Ensures the matrix doesn't stop if one job fails
1313
matrix:
1414
include:
15-
- php_version: '7.0'
15+
- php_version: '7.3'
1616
wp_version: 6.4
1717

1818
- php_version: '7.3'
@@ -72,12 +72,6 @@ jobs:
7272
- name: Start wp-env
7373
run: wp-env start
7474
id: start-wp-env
75-
- name: Verify PHP and WP versions running
76-
run: |
77-
CONTAINER_ID=$(docker ps | grep 'tests-wordpress' | awk '{ print $1 }')
78-
echo "Container ID: $CONTAINER_ID"
79-
docker exec $CONTAINER_ID php -v
80-
wp-env run cli grep wp_version wp-includes/version.php
8175
- name: Run playwright tests
8276
if: ${{ steps.start-wp-env.outcome != 'failure' }}
8377
id: run-playwright-tests
@@ -89,7 +83,7 @@ jobs:
8983
STACKABLE_SLUG: Stackable/plugin
9084
run: npm run test
9185
- uses: actions/upload-artifact@v4
92-
if: ${{ steps.run-playwright-tests.outcome == 'failure' }}
86+
if: ${{ !cancelled() }}
9387
id: artifact-upload-step
9488
with:
9589
name: playwright-report-php_${{ matrix.php_version }}-wp_${{ env.WP_VERSION }}-${{ env.VERSION_SUFFIX }}

0 commit comments

Comments
 (0)