Last modified: 2014-08-13 11:23:03 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T68926, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 66926 - Add jenkins jobs for mediawiki/skins/CologneBlue, Nostalgia, Modern, Example, MonoBook, Vector
Add jenkins jobs for mediawiki/skins/CologneBlue, Nostalgia, Modern, Example,...
Status: NEW
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
unspecified
All All
: Normal enhancement (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on: 68335
Blocks:
  Show dependency treegraph
 
Reported: 2014-06-21 21:55 UTC by Kunal Mehta (Legoktm)
Modified: 2014-08-13 11:23 UTC (History)
5 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Kunal Mehta (Legoktm) 2014-06-21 21:55:10 UTC
All 3 are currently deployed and really should have jobs.
Comment 1 Antoine "hashar" Musso (WMF) 2014-06-23 10:23:32 UTC
Beside the usual jslint/phplint jobs, I am wondering whether we should run qunit jobs with the skin set.  Though I think we only ran the qunit job against the default skin.
Comment 2 Antoine "hashar" Musso (WMF) 2014-07-03 13:15:39 UTC
The tutorial for MediaWiki extensions should be more or less valid for skins : https://www.mediawiki.org/wiki/Continuous_integration/Tutorials/Adding_a_MediaWiki_extension

I have no clue what should be tested so this is on hold until someone figure out the testing strategy to be applied on mediawiki/skins/*
Comment 3 Kunal Mehta (Legoktm) 2014-07-03 13:45:06 UTC
(In reply to Antoine "hashar" Musso from comment #2) 
> I have no clue what should be tested so this is on hold until someone figure
> out the testing strategy to be applied on mediawiki/skins/*

For now just basic lint checks, so php -l, jslint, and I believe we have a test that checks for validity of .less files?
Comment 4 Bartosz Dziewoński 2014-07-03 14:23:09 UTC
Yeah. There's no reason why a skin couldn't have unit tests or browser tests, but as far as I know none does right now.
Comment 5 Antoine "hashar" Musso (WMF) 2014-07-03 16:39:36 UTC
Maybe we can run the qunit tests as well?  Not sure whether they are passing though.
Comment 6 Bartosz Dziewoński 2014-07-03 17:07:38 UTC
They should be, but some code (too tightly integrated with page HTML, like mw.util.addPortletLink) is known not to work with all skins. Not sure if the tests for this and other things will work correctly, but it would be nice to try.
Comment 7 Bartosz Dziewoński 2014-07-21 18:31:12 UTC
(Example skin too, please: https://git.wikimedia.org/tree/mediawiki%2Fskins%2FExample.git)
Comment 8 Gerrit Notification Bot 2014-07-21 18:41:22 UTC
Change 148130 had a related patch set uploaded by Hashar:
php lint jobs for MediaWiki skins

https://gerrit.wikimedia.org/r/148130
Comment 9 Gerrit Notification Bot 2014-07-21 19:05:03 UTC
Change 148136 had a related patch set uploaded by Hashar:
phplint jobs for MediaWiki skins

https://gerrit.wikimedia.org/r/148136
Comment 10 Gerrit Notification Bot 2014-07-21 19:08:02 UTC
Change 148136 merged by jenkins-bot:
phplint jobs for MediaWiki skins

https://gerrit.wikimedia.org/r/148136
Comment 11 Gerrit Notification Bot 2014-07-21 19:24:59 UTC
Change 148130 merged by jenkins-bot:
phplint jobs for MediaWiki skins

https://gerrit.wikimedia.org/r/148130
Comment 12 Antoine "hashar" Musso (WMF) 2014-07-21 19:27:19 UTC
I have configured Jenkins and Zuul to trigger a phplint job. The configuration and tests jobs are sharing the same Change-Id: I3ced08099f7283f75f61c170c291f7a80ee79a5b

We still want to add:

- jshint jobs, the skins will have to pass it
- run the MediaWiki tests that do some generic checks such as ensuring resource loader modules are properly registered

Ideally qunit tests :-)
Comment 13 Kunal Mehta (Legoktm) 2014-08-10 01:18:40 UTC
mediawiki/skins/Vector also needs jobs.
Comment 14 Gerrit Notification Bot 2014-08-12 10:52:50 UTC
Change 153578 had a related patch set uploaded by Addshore:
Add phplint jobs for 2 skins that were missed

https://gerrit.wikimedia.org/r/153578
Comment 15 Gerrit Notification Bot 2014-08-12 10:53:02 UTC
Change 153579 had a related patch set uploaded by Addshore:
Add 2 zuul triggers for skins missing them

https://gerrit.wikimedia.org/r/153579
Comment 16 Gerrit Notification Bot 2014-08-12 12:18:38 UTC
Change 153578 merged by jenkins-bot:
Add jobs for 2 skins that were missing

https://gerrit.wikimedia.org/r/153578
Comment 17 Gerrit Notification Bot 2014-08-12 12:19:01 UTC
Change 153579 merged by jenkins-bot:
Add 2 zuul triggers for skins missing them

https://gerrit.wikimedia.org/r/153579
Comment 18 Bartosz Dziewoński 2014-08-13 10:04:55 UTC
Thanks guys.

Can/Should this be closed now? It seems that all skin repos that have something worth testing in them are now being tested. I suggest tracking more interesting things like QUnit jobs in separate bug(s).
Comment 19 Antoine "hashar" Musso (WMF) 2014-08-13 11:23:03 UTC
The skins must now have a bunch of MediaWiki core tests run on them, just like extensions.  Ie the tests under /tests/phpunit/structure/ (which are the PHPUnit 'structure' test suite) and /tests/phpunit/LessTestSuite.php.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links