Skip to content

Commit f310faa

Browse files
committed
update php version
1 parent a2c9632 commit f310faa

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

.github/workflows/playwright.yml

Lines changed: 4 additions & 6 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.0
15+
- php_version: 7.0
1616
wp_version: 6.4
1717

1818
- php_version: 7.3
@@ -73,12 +73,10 @@ jobs:
7373
run: wp-env start
7474
- name: Get PHP and WordPress versions
7575
run: |
76-
CONTAINER_NAME=$(docker ps --filter "ancestor=wordpress" --format "{{.Names}}")
77-
echo "PHP Version:"
78-
docker exec $CONTAINER_NAME php -v
79-
echo "WordPress Version:"
80-
docker exec $CONTAINER_NAME wp core version
76+
docker ps
77+
wp-env logs
8178
- name: Run playwright tests
79+
if: ${{ !cancelled() }}
8280
env:
8381
WP_BASE_URL: http://localhost:8889
8482
WP_AUTH_STORAGE: wp-auth.json

0 commit comments

Comments
 (0)