Page MenuHomePhabricator

Add CI job for Dashiki
Closed, DeclinedPublic

Description

Just noticed Dashiki has some test suite using Karma, unfortunately there is no CI job to automatically run the suite for us. From a quick experiment, one does:

npm install
npm install bower
bower install
karma start

On CI side, the default job just does: npm install && npm test. We can get bower install integrated as a postinstall step. Some blocker though is that there is a JQuery version mismatch T148020

Event Timeline

Change 315659 had a related patch set uploaded (by Hashar):
build: run karma test with just "npm test"

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

Change 315669 had a related patch set uploaded (by Hashar):
Experimental npm job for analytics mediawiki-storage and dashiki

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

Change 315669 merged by jenkins-bot:
Experimental npm job for analytics mediawiki-storage and dashiki

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

hashar renamed this task from Add CI job for Dashiki | jQuery version mismatch to Add CI job for Dashiki.Oct 13 2016, 3:13 PM

I guess that this more or less depends on bower -> npm migration T147884

Change 315659 abandoned by Hashar:
uild: run karma test with just "npm test"

Reason:
Potentially yes, though there is no clear instruction on how to generate the required assets. Lets give up this change and I will abandon T148019 as well.

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