Changeset 56926 for trunk/.github/workflows/performance.yml
- Timestamp:
- 10/13/2023 08:11:41 AM (12 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/.github/workflows/performance.yml
r56660 r56926 32 32 env: 33 33 # Performance testing should be performed in an environment reflecting a standard production environment. 34 WP_DEBUG: false35 SCRIPT_DEBUG: false36 SAVEQUERIES: false37 WP_DEVELOPMENT_MODE: ''34 LOCAL_WP_DEBUG: false 35 LOCAL_SCRIPT_DEBUG: false 36 LOCAL_SAVEQUERIES: false 37 LOCAL_WP_DEVELOPMENT_MODE: "''" 38 38 39 39 # This workflow takes two sets of measurements — one for the current commit, … … 57 57 # - Log debug information. 58 58 # - Install npm dependencies. 59 # - Install Playwright browsers. 59 60 # - Build WordPress. 60 61 # - Start Docker environment. … … 74 75 # - Print target performance tests results. 75 76 # - Reset to original commit. 77 # - Install npm dependencies. 76 78 # - Set the environment to the baseline version. 77 79 # - Run baseline performance tests. … … 120 122 run: npm ci 121 123 124 - name: Install Playwright browsers 125 run: npx playwright install --with-deps 126 122 127 - name: Build WordPress 123 128 run: npm run build … … 183 188 184 189 - name: Run target performance tests (base/previous commit) 185 run: npm run test:performance -- --prefix=before 190 env: 191 TEST_RESULTS_PREFIX: before 192 run: npm run test:performance 186 193 187 194 - name: Print target performance tests results 188 run: node ./tests/performance/results.js --prefix=before 195 env: 196 TEST_RESULTS_PREFIX: before 197 run: node ./tests/performance/results.js 189 198 190 199 - name: Reset to original commit 191 200 run: git reset --hard $GITHUB_SHA 192 201 202 - name: Install npm dependencies 203 run: npm ci 204 193 205 - name: Set the environment to the baseline version 194 206 run: | … … 197 209 198 210 - name: Run baseline performance tests 199 run: npm run test:performance -- --prefix=base 211 env: 212 TEST_RESULTS_PREFIX: base 213 run: npm run test:performance 200 214 201 215 - name: Print baseline performance tests results 202 run: node ./tests/performance/results.js --prefix=base 216 env: 217 TEST_RESULTS_PREFIX: base 218 run: node ./tests/performance/results.js 203 219 204 220 - name: Compare results with base
Note: See TracChangeset
for help on using the changeset viewer.