[wp-trac] [WordPress Trac] #62167: Stop running WordPress Importer plugin tests in Core

WordPress Trac noreply at wordpress.org
Fri Oct 4 16:02:27 UTC 2024


#62167: Stop running WordPress Importer plugin tests in Core
------------------------------+----------------------------
 Reporter:  desrosj           |      Owner:  (none)
     Type:  enhancement       |     Status:  new
 Priority:  normal            |  Milestone:  Future Release
Component:  Build/Test Tools  |    Version:
 Severity:  normal            |   Keywords:
  Focuses:                    |
------------------------------+----------------------------
 The WordPress Importer tests are currently run for every commit to
 `wordpress-develop`. This seems to precede the use of Travis CI for
 running tests, which happened in 2013 (see [26534]).

 As part of implementing develop.svn.wordpress.org (see #24976), it
 [https://core.trac.wordpress.org/ticket/24976#comment:7 was suggested]
 that the Importer tests should be pulled out of Core and merged into the
 plugin itself so that they could be managed like any other plugin. This
 would also eliminate the need to automatically install the plugin when
 spinning up the local Docker environment.

 That has [https://github.com/WordPress/wordpress-importer/pull/20 happened
 to some extent], but a full audit needs to be performed to ensure the
 tests and any updates in `wordpress-develop` have made their way over to
 the wordpress-importer repository on GitHub.

 One point of feedback on #24976 was:
 > I'd want to make sure any importer tests are not neglected, especially
 in terms of being broken by core changes. We'll probably just want to make
 sure we hook it up into Travis CI.

 The `schedule` action in GitHub Actions (the replacement for Travis CI)
 can be used to run the tests at a regular interval. However there is one
 new consideration:

 > scheduled workflows are automatically disabled when no repository
 activity has occurred in 60 days.

 Realistically, the plugin does encounter periods of time where the
 repository is not updated. Care should be taken to ensure the workflows
 continue to run at the desired interval. The [https://github.com/WordPress
 /wordpress-importer/blob/master/.github/dependabot.yml existence of a
 Dependabot configuration file] should be enough to ensure that happens.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/62167>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list