Skip to content

Commit ed9b4cf

Browse files
authored
Sync branch [skip ci]
2 parents 734e7a8 + 8bf2f6b commit ed9b4cf

1 file changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/copilot-setup-steps.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,9 @@ jobs:
3535
- name: Install JavaScript dependencies
3636
run: npm ci
3737

38+
- name: Install Playwright CLI
39+
run: npm install -g playwright-cli
40+
3841
- name: Install Playwright browsers
3942
run: npx playwright install --with-deps chromium
4043

@@ -43,9 +46,18 @@ jobs:
4346
with:
4447
php-version: "7.4"
4548
extensions: simplexml, mysql
49+
tools: phpunit-polyfills
4650

4751
- name: Install PHP dependencies
48-
run: composer install
52+
run: composer install --prefer-dist --no-progress
4953

5054
- name: Pre-pull E2E Docker images
5155
run: docker compose -f docker-compose.ci.yml pull
56+
57+
- name: Bootstrap E2E environment
58+
env:
59+
DOCKER_FILE: docker-compose.ci.yml
60+
run: bash bin/wp-init.sh
61+
62+
- name: Install WordPress test suite
63+
run: bash bin/install-wp-tests.sh wordpress_test root root 127.0.0.1:3306

0 commit comments

Comments
 (0)