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

dachary created this task.Jul 28 2016, 2:56 PM
Restricted Application added subscribers: pywikibot-bugs-list, Aklapper. · View Herald TranscriptJul 28 2016, 2:56 PM

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 closed this task as Invalid.Jul 28 2016, 3:29 PM
jayvdb added projects: Pywikibot, Pywikibot-tests.
jayvdb added a subscriber: jayvdb.

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

Dalba added a subscriber: Dalba.Jul 28 2016, 3:49 PM