From f8b9b2abd742e4c8b4a938d4fdd226a2c7d1e794 Mon Sep 17 00:00:00 2001 From: Jonathan Desrosiers Date: Thu, 8 Feb 2024 15:35:54 +0000 Subject: [PATCH] Build/Test Tools: Unpin PHP 7.4 from the test coverage workflow. Since being introduced, the GitHub Actions workflow responsible for generating and submitting a test coverage report has used PHP 7.4. At the time, there were some issues with running the test suite on PHP 8.0+ which could have resulted in inaccurate reporting. The test suite and WordPress in general are much more stable on 8.x now. The test coverage report should now be generated using the Docker container tagged `latest` (currently 8.2). This will result in a very small decrease in the percentage of lines covered by test (-0.05%), but a slight increase in the percentage of functions and methods covered (+0.08%). Props johnbillion. See #59647. git-svn-id: https://develop.svn.wordpress.org/trunk@57566 602fd350-edb4-49c9-b593-d223f7449a82 --- .github/workflows/test-coverage.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index b99a4625bd..b32b3a0940 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -29,7 +29,6 @@ on: permissions: {} env: - LOCAL_PHP: '7.4-fpm' LOCAL_PHP_XDEBUG: true LOCAL_PHP_XDEBUG_MODE: 'coverage' LOCAL_PHP_MEMCACHED: ${{ false }}