mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
Build/Test Tools: Run performance tests using production env vars.
This sets the following environment variables when running automated performance tests to avoid side effects that can skew performance data when the default development environment variables are used: * `SAVEQUERIES`: `false` * `SCRIPT_DEBUG`: `false` * `WP_DEBUG`: `false` * `WP_DEVELOPMENT_MODE`: `''` Props rajinsharwar, desrosj, mukesh27, joemcgill. Fixes #58825. git-svn-id: https://develop.svn.wordpress.org/trunk@56313 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
6
.github/workflows/performance.yml
vendored
6
.github/workflows/performance.yml
vendored
@@ -30,6 +30,12 @@ concurrency:
|
||||
permissions: {}
|
||||
|
||||
env:
|
||||
# Performance testing should be performed in an environment reflecting a standard production environment.
|
||||
WP_DEBUG: false
|
||||
SCRIPT_DEBUG: false
|
||||
SAVEQUERIES : false
|
||||
WP_DEVELOPMENT_MODE: ''
|
||||
|
||||
# This workflow takes two sets of measurements — one for the current commit,
|
||||
# and another against a consistent version that is used as a baseline measurement.
|
||||
# This is done to isolate variance in measurements caused by the GitHub runners
|
||||
|
||||
Reference in New Issue
Block a user