[Koha-devel] CI improvement

Jonathan Druart jonathan.druart at bugs.koha-community.org
Thu Jul 20 00:55:49 CEST 2017


Hi devs,

Yesterday Tomas and I spent some time to improve our continuous integration
server (jenkins.koha-community.org).

What's new:
- a new task 17.05 has been created
- tasks 17.05 and master are now running `prove -r t xt`. This is pretty
awesome and a big step for the project, it is the first time ever we have
that!
- a selenium server is setup before the tests are executed, to make them
pass
- badge statuses are back on the dashboard! You can add them to your own
dashboard if you like [1]

Coverage report has jumped from | to
% method | 83% (5650/6802) | 85.6% (5848/6830)
% conditionals | 41.7% (8744/20957) | 45.2% (9525/21032)
% statements | 64.6% (28839/44639) | 67.8% (30414/44852)
Total number of tests | 21,330 | 21,911
See results of runs 220 [2] (before the changes, without executing all
tests) and 225 [3] (with the changes, all tests from t and xt are executed).

I have added a new check to the QA scripts to test POD coverage (QAers,
please update).

Note: 17.05 is failing for Prices.t (see 18289) and Circulation.t (but that
may be a random failures, see bug 18759).

TODO: Add more test coverage, add selenium tests, reduce the time execution
of the test suite (2 hours now).

If you want to help in this area or know what is going on, see the relevant
epic on the kanban [4]

Cheers,
Jonathan

[1] For instance the badge status for master is at
https://jenkins.koha-community.org/job/Koha_Master_D8/badge/icon
[2] https://jenkins.koha-community.org/job/Koha_Master_D8/220/clover/
[3] https://jenkins.koha-community.org/job/Koha_Master_D8/225/clover/
[4] https://tree.taiga.io/project/joubu-koha-rm-1711/epic/32
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20170719/50350def/attachment.html>


More information about the Koha-devel mailing list