Since bug 34303 the test suite (when ran on jenkins) is no longer testing Perl::Critic koha_1 | fatal: Not a valid object name master koha_1 | [14:58:14] t/00-testcritic.t check_makefile.t is also failing: koha_1 | fatal: Not a valid object name master koha_1 | [15:00:01] xt/check_makefile.t We are not cloning the whole repo and "master" is not available. Additionally we do not want to test master's files on stable branches anyway...
Created attachment 156199 [details] [review] Bug 34911: Test files from HEAD instead of 'master' Since bug 34303 the test suite (when ran on jenkins) is no longer testing Perl::Critic koha_1 | fatal: Not a valid object name master koha_1 | [14:58:14] t/00-testcritic.t We are not cloning the whole repo and "master" is not available. Additionally we do not want to test master's files on stable branches anyway...
Note that this may not be enough, we have other warnings/errors: koha_1 | error: object directory /srv/jenkins/workspace/Koha_Source/.git/objects does not exist; check .git/objects/info/alternates koha_1 | [15:00:20] t/Makefile.t Which is using HEAD. But in my test it was working. On Docker_8: /srv/jenkins/workspace/Koha_Master# perl t/Makefile.t 1..1 ok 1 - All directories should be mapped
Created attachment 156213 [details] [review] Bug 34911: Test files from HEAD instead of 'master' Since bug 34303 the test suite (when ran on jenkins) is no longer testing Perl::Critic koha_1 | fatal: Not a valid object name master koha_1 | [14:58:14] t/00-testcritic.t We are not cloning the whole repo and "master" is not available. Additionally we do not want to test master's files on stable branches anyway... Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Trivial: SO + QA
Pushed to master for 23.11. Nice work everyone, thanks!
Pushed to 23.05.x for 23.05.05 Good catch ;)
Nice work everyone! Pushed to oldstable for 22.11.x