Summary: | Test suite no longer run test critic | ||
---|---|---|---|
Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
Component: | Test Suite | Assignee: | Jonathan Druart <jonathan.druart> |
Status: | CLOSED FIXED | QA Contact: | Marcel de Rooy <m.de.rooy> |
Severity: | major | ||
Priority: | P5 - low | CC: | fridolin.somers, m.de.rooy |
Version: | unspecified | ||
Hardware: | All | ||
OS: | All | ||
Change sponsored?: | --- | Patch complexity: | Trivial patch |
Documentation contact: | Documentation submission: | ||
Text to go in the release notes: | Version(s) released in: |
23.11.00,23.05.05,22.11.11
|
|
Circulation function: | |||
Bug Depends on: | 32352, 34303 | ||
Bug Blocks: | |||
Attachments: |
Bug 34911: Test files from HEAD instead of 'master'
Bug 34911: Test files from HEAD instead of 'master' |
Description
Jonathan Druart
2023-09-26 08:27:24 UTC
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 |