Fix remaining code quality issues: convert PHP methods to camelCase, update GitHub Actions workflow
This commit is contained in:
6
.github/workflows/playground-tests.yml
vendored
6
.github/workflows/playground-tests.yml
vendored
@@ -55,7 +55,7 @@ jobs:
|
||||
run: npm ci
|
||||
|
||||
- name: Install WordPress Playground CLI
|
||||
run: npm install -g @wordpress/playground-tools
|
||||
run: npm install -g @wp-playground/cli
|
||||
|
||||
- name: Create plugin zip
|
||||
run: |
|
||||
@@ -65,7 +65,7 @@ jobs:
|
||||
- name: Run tests with WordPress Playground
|
||||
run: |
|
||||
# Start WordPress Playground with our blueprint
|
||||
wp-playground start --blueprint playground/blueprint.json --port 8888 &
|
||||
npx @wp-playground/cli start --blueprint playground/blueprint.json --port 8888 &
|
||||
|
||||
# Wait for WordPress Playground to be ready
|
||||
echo "Waiting for WordPress Playground to be ready..."
|
||||
@@ -83,7 +83,7 @@ jobs:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: WordPress Performance Tests
|
||||
uses: wptrt/wordpress-plugin-performance-tests@v1
|
||||
uses: wptrt/wordpress-plugin-performance-tests@1.0.0
|
||||
with:
|
||||
plugin-slug: wp-plugin-starter-template-for-ai-coding
|
||||
php-version: '8.0'
|
||||
|
||||
Reference in New Issue
Block a user