Bump @wp-playground/cli from 1.0.7 to 1.0.9 in /env (#206) #48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Test with comparison' | |
on: # rebuild any PRs and main branch changes | |
pull_request: | |
push: | |
branches: | |
- main | |
- 'releases/*' | |
jobs: | |
comparison-same: | |
name: 'Run tests with same version' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run performance tests (before) | |
id: before | |
uses: ./ | |
with: | |
urls: | | |
/ | |
/sample-page/ | |
plugins: | | |
./tests/dummy-plugin | |
blueprint: './tests/blueprint-complex.json' | |
iterations: 5 | |
repetitions: 1 | |
wp-version: 'latest' | |
print-results: false | |
upload-artifacts: false | |
- name: Run performance tests (after) | |
id: after | |
uses: ./ | |
with: | |
urls: | | |
/ | |
/sample-page/ | |
plugins: | | |
./tests/dummy-plugin | |
blueprint: './tests/blueprint-complex.json' | |
iterations: 5 | |
repetitions: 1 | |
wp-version: 'latest' | |
previous-results: ${{ steps.before.outputs.results }} | |
print-results: true | |
upload-artifacts: false | |
comparison-different: | |
name: 'Run tests with different versions' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Run performance tests (before) | |
id: before | |
uses: ./ | |
with: | |
urls: | | |
/ | |
/sample-page/ | |
plugins: | | |
./tests/dummy-plugin | |
blueprint: './tests/blueprint-complex.json' | |
iterations: 5 | |
repetitions: 1 | |
wp-version: '6.5' | |
print-results: false | |
upload-artifacts: false | |
- name: Run performance tests (after) | |
id: after | |
uses: ./ | |
with: | |
urls: | | |
/ | |
/sample-page/ | |
plugins: | | |
./tests/dummy-plugin | |
blueprint: './tests/blueprint-complex.json' | |
iterations: 5 | |
repetitions: 1 | |
wp-version: '6.6' | |
previous-results: ${{ steps.before.outputs.results }} | |
print-results: true | |
upload-artifacts: false |