Page MenuHomePhabricator

Move Pywikibot tests from Appveyor to Github action
Closed, ResolvedPublic

Description

Pywikibot test are running on Appveyor for 9 years, exclusively for Windows OS. But there is one main disadvantage with it: it needs ~4 hours to test one patch (for only 7 variants. I propose to migrate from Appveyor to GitHub action which also supports windows. Doctests for example runs already on Windows (and Mac OS as well).

Advantages for migrating

  • GitHub needs only ~30 minutes for all tests whereas Appveyor needs 3,5 - 4,5 hours because there is only 1 concurrent job available
  • GitHub actions can be tested easily by a repository clone
  • Codecov upload fails with Python 3.7.0 which cannot be solved (T363651)
  • Codecov upload fails with Python 3.11 (T365943
  • Tests for Python 3.13 is available
  • Minor maintenance needed for only one test platform (beside jenkins CI)
  • ...

Disadvantages for migrating

  • gui_tests cannot be run on GitHub (T317618)
  • Appveyor provides 32 and 64 bit architecture, no glue whether this can be set up in GitHub. But does it really care? See Pillow issue 7251
  • ...

See also: T296371

Event Timeline

Xqt triaged this task as Low priority.Sat, Jun 22, 10:31 AM
Xqt updated the task description. (Show Details)
Xqt updated the task description. (Show Details)

Change #1049229 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [tests] Add experimental Windows tests as successor for Appveyor tests

https://gerrit.wikimedia.org/r/1049229

Change #1049229 merged by Xqt:

[pywikibot/core@master] [tests] Add experimental Windows tests as successor for Appveyor tests

https://gerrit.wikimedia.org/r/1049229

Change #1050709 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] [tests] Move Pywikibot tests from Appveyor to Github action

https://gerrit.wikimedia.org/r/1050709

Change #1050709 merged by Xqt:

[pywikibot/core@master] [tests] Move Pywikibot tests from Appveyor to Github action

https://gerrit.wikimedia.org/r/1050709

Change #1050792 had a related patch set uploaded (by Xqt; author: Xqt):

[pywikibot/core@master] Desupport Python 3.7.0 and drop Appveyor tests

https://gerrit.wikimedia.org/r/1050792

Change #1050792 merged by jenkins-bot:

[pywikibot/core@master] [tests] drop Appveyor tests

https://gerrit.wikimedia.org/r/1050792

Xqt claimed this task.