|
53 | 53 | # |
54 | 54 | # Creates a PHPUnit test job for each PHP/MySQL combination. |
55 | 55 | # |
| 56 | + # Though MySQL 5.5 and 5.6 are still supported by WordPress, they are not currently tested here because the Docker |
| 57 | + # images do not work. Testing against MariaDB 5.5 provides a reasonable level of MySQL 5.5 testing (see MariaDB matrix |
| 58 | + # below for more details). |
| 59 | + # |
56 | 60 | test-with-mysql: |
57 | 61 | name: PHP ${{ matrix.php }} |
58 | 62 | uses: ./.github/workflows/reusable-phpunit-tests-v3.yml |
@@ -124,6 +128,10 @@ jobs: |
124 | 128 | # |
125 | 129 | # Creates a PHPUnit test job for each PHP/MariaDB combination. |
126 | 130 | # |
| 131 | + # All LTS versions of MariaDB supported by WordPress with greater than 1% usage according to w.org/stats should be |
| 132 | + # tested. The exception to this rule is version 5.5. That release was intended as a drop-in replacement for MySQL. |
| 133 | + # Because the MySQL 5.5 Docker containers do not work, this ensures some level of MySQL 5.5 testing. |
| 134 | + # |
127 | 135 | test-with-mariadb: |
128 | 136 | name: PHP ${{ matrix.php }} |
129 | 137 | uses: ./.github/workflows/reusable-phpunit-tests-v3.yml |
@@ -168,11 +176,11 @@ jobs: |
168 | 176 | # |
169 | 177 | # Creates PHPUnit test jobs to test MariaDB and MySQL innovation releases. |
170 | 178 | # |
171 | | - # Though innovation releases are deemed "production grade" and never receive LTS status, they include new features |
172 | | - # and updates that will be included in the next LTS version. |
| 179 | + # Though innovation releases are deemed "production grade", they never receive LTS status. However, they include new |
| 180 | + # features and updates that will be included in the next LTS version. |
173 | 181 | # |
174 | | - # Because upstream support for innovation releases gets dropped when a new one is released, only the most recent |
175 | | - # innovation version is tested. |
| 182 | + # Because upstream support for innovation releases is dropped when a new one is released (including security updates), |
| 183 | + # only the most recent innovation version is tested. |
176 | 184 | # |
177 | 185 | test-innovation-releases: |
178 | 186 | name: PHP ${{ matrix.php }} |
@@ -217,6 +225,8 @@ jobs: |
217 | 225 | # |
218 | 226 | # Runs specific individual test groups. |
219 | 227 | # |
| 228 | + # These tests are run against the most recent LTS version of MySQL. |
| 229 | + # |
220 | 230 | specific-test-groups: |
221 | 231 | name: ${{ matrix.phpunit-test-groups }} |
222 | 232 | uses: ./.github/workflows/reusable-phpunit-tests-v3.yml |
|
0 commit comments