From 1d1089c6b50d0303572d9aaa1695c7c55cf99d7a Mon Sep 17 00:00:00 2001
From: Rajin Sharwar <rajinsharwar@gmail.com>
Date: Fri, 21 Jul 2023 15:03:47 +0600
Subject: [PATCH] Update performance.yml
---
.github/workflows/performance.yml | 3 +++
1 file changed, 3 insertions(+)
diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml
index 408f7ba9f5..2e825f10a8 100644
|
a
|
b
|
jobs:
|
| 79 | 79 | run: | |
| 80 | 80 | echo "PHP_FPM_UID=$(id -u)" >> $GITHUB_ENV |
| 81 | 81 | echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV |
| | 82 | echo "WP_DEBUG=false" >> $GITHUB_ENV |
| | 83 | echo "SCRIPT_DEBUG=false" >> $GITHUB_ENV |
| | 84 | echo "WP_DEVELOPMENT_MODE=" >> $GITHUB_ENV |
| 82 | 85 | |
| 83 | 86 | - name: Checkout repository |
| 84 | 87 | uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 |
--
2.39.2.windows.1
From 877accf3a4f557d684e92750ee782b5e0407e876 Mon Sep 17 00:00:00 2001
From: Rajin Sharwar <rajinsharwar@gmail.com>
Date: Fri, 21 Jul 2023 21:16:06 +0600
Subject: [PATCH] Update performance.yml - 2
---
.github/workflows/performance.yml | 22 +++++++++++++++-------
1 file changed, 15 insertions(+), 7 deletions(-)
diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml
index 2e825f10a8..dff3cfabfd 100644
|
a
|
b
|
concurrency:
|
| 30 | 30 | permissions: {} |
| 31 | 31 | |
| 32 | 32 | env: |
| | 33 | # Environment variables for Docker and PHP-FPM configuration |
| | 34 | PHP_FPM_UID: ${{ steps.get-php-fpm-uid.outputs.php-fpm-uid }} |
| | 35 | PHP_FPM_GID: ${{ steps.get-php-fpm-gid.outputs.php-fpm-gid }} |
| | 36 | |
| | 37 | # Environment variables for WordPress performance testing |
| | 38 | WP_DEBUG: false |
| | 39 | SCRIPT_DEBUG: false |
| | 40 | WP_DEVELOPMENT_MODE: '' |
| | 41 | |
| 33 | 42 | # This workflow takes two sets of measurements — one for the current commit, |
| 34 | 43 | # and another against a consistent version that is used as a baseline measurement. |
| 35 | 44 | # This is done to isolate variance in measurements caused by the GitHub runners |
| … |
… |
jobs:
|
| 75 | 84 | if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} |
| 76 | 85 | |
| 77 | 86 | steps: |
| 78 | | - name: Configure environment variables |
| 79 | | run: | |
| 80 | | echo "PHP_FPM_UID=$(id -u)" >> $GITHUB_ENV |
| 81 | | echo "PHP_FPM_GID=$(id -g)" >> $GITHUB_ENV |
| 82 | | echo "WP_DEBUG=false" >> $GITHUB_ENV |
| 83 | | echo "SCRIPT_DEBUG=false" >> $GITHUB_ENV |
| 84 | | echo "WP_DEVELOPMENT_MODE=" >> $GITHUB_ENV |
| | 87 | - name: Get PHP-FPM UID and GID |
| | 88 | id: get-php-fpm-uid |
| | 89 | run: echo "::set-output name=php-fpm-uid::$(id -u)" |
| | 90 | - name: Get PHP-FPM GID |
| | 91 | id: get-php-fpm-gid |
| | 92 | run: echo "::set-output name=php-fpm-gid::$(id -g)" |
| 85 | 93 | |
| 86 | 94 | - name: Checkout repository |
| 87 | 95 | uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0 |
--
2.39.2.windows.1
From 5205b49ecf6e3b92f300a219177437653399becb Mon Sep 17 00:00:00 2001
From: Rajin Sharwar <rajinsharwar@gmail.com>
Date: Sat, 22 Jul 2023 15:56:09 +0600
Subject: [PATCH] Update performance.yml - 3
---
.github/workflows/performance.yml | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml
index dff3cfabfd..891d8fa5fd 100644
|
a
|
b
|
env:
|
| 34 | 34 | PHP_FPM_UID: ${{ steps.get-php-fpm-uid.outputs.php-fpm-uid }} |
| 35 | 35 | PHP_FPM_GID: ${{ steps.get-php-fpm-gid.outputs.php-fpm-gid }} |
| 36 | 36 | |
| 37 | | # Environment variables for WordPress performance testing |
| | 37 | # Performance testing should be performed in an environment reflecting a standard production environment. |
| 38 | 38 | WP_DEBUG: false |
| 39 | 39 | SCRIPT_DEBUG: false |
| 40 | 40 | WP_DEVELOPMENT_MODE: '' |
| … |
… |
jobs:
|
| 82 | 82 | permissions: |
| 83 | 83 | contents: read |
| 84 | 84 | if: ${{ github.repository == 'WordPress/wordpress-develop' || github.event_name == 'pull_request' }} |
| 85 | | |
| | 85 | |
| 86 | 86 | steps: |
| 87 | 87 | - name: Get PHP-FPM UID and GID |
| 88 | 88 | id: get-php-fpm-uid |