Page MenuHomePhabricator

jenkins only runs pyflakes/flake8 tests, but no actual tests
Closed, InvalidPublic

Description

tox.ini reads

[tox:jenkins]
# Override default for WM Jenkins
# Others are run in their own individual jobs on WM Jenkins
# Wikimedia Jenkins does not have Python 2.6
envlist = flake8,pyflakes-{py3,pypy}

meaning jenkins, when run from gerrit, will not run any unit tests, only source level checks.

Event Timeline

Change 301612 had a related patch set uploaded (by Dachary):
run py27 tests

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

Change 301614 had a related patch set uploaded (by Dachary):
run py27 tests

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

Change 301612 abandoned by Dachary:
run py27 tests

Reason:
Messed up with the submodule and the rebase ...

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

Change 301614 abandoned by Dachary:
run py27 tests

Reason:
The tests are run, only I don't understand when or how

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

Apparently something triggers the tests but I'm not sure why or when.

<matej_suchanek> dachary: +1 from a privileged user, I think

Is that it ?

jayvdb added projects: Pywikibot, Pywikibot-tests.
jayvdb subscribed.

Yes.
git blame tox.ini would lead you to 7a35ea98 and T87169 .
There is an open task about running more tests, possibly earlier. See Pywikibot-tests