Bump the wp-packages group in /env with 2 updates (#294) #238
This file contains hidden or 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@v5 | |
| - 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@v5 | |
| - 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.7' | |
| 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 |