[wp-trac] [WordPress Trac] #59647: Test tool and unit test improvements for 6.5

WordPress Trac noreply at wordpress.org
Thu Feb 8 15:36:09 UTC 2024


#59647: Test tool and unit test improvements for 6.5
--------------------------------------+---------------------
 Reporter:  hellofromTonya            |       Owner:  (none)
     Type:  enhancement               |      Status:  new
 Priority:  normal                    |   Milestone:  6.5
Component:  Build/Test Tools          |     Version:
 Severity:  normal                    |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+---------------------

Comment (by desrosj):

 In [changeset:"57566" 57566]:
 {{{
 #!CommitTicketReference repository="" revision="57566"
 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.
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/59647#comment:30>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list