AbdealiJK added a comment.

  Possibly a comment for a new Phab task:
  I think there is an underlying issue about the fact that when pytest skips 
tests, travis doesn't fail.
  There was an issue on pytest about this a while back which I had given up on 
which I have reinitiated conversation about:
  https://github.com/pytest-dev/pytest/issues/1364
  
  Based on that discussion: if we're using pytest, one possible method would be 
to override the unittest.skipIf decorators in the `tests/__init__.py` where we 
already do try/catch for unittest2 to add a pytest fixture which is later 
handled in conftest.
  
  This was we can specify which tests (or how many tests) should skip in each 
CI job using an env variable or in the tox.ini

TASK DETAIL
  https://phabricator.wikimedia.org/T135701

EMAIL PREFERENCES
  https://phabricator.wikimedia.org/settings/panel/emailpreferences/

To: AbdealiJK
Cc: AbdealiJK, gerritbot, Aklapper, Zppix, jayvdb, pywikibot-bugs-list, 
Lewizho99, Maathavan, Jay8g, Krenair



_______________________________________________
pywikibot-bugs mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/pywikibot-bugs

Reply via email to