Bug 34303: Only perlcritic files from git repo
Test plan:
Run t/00-testcritic.t
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
JD amended patch: tidy
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit 2bc251cfdd)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
3fc7bc0c9e
commit
835bc43d31
|
|
@ -13,5 +13,6 @@ if ( $EVAL_ERROR ) {
|
|||
plan( skip_all => $msg );
|
||||
}
|
||||
|
||||
Test::Perl::Critic->import( -profile => '.perlcriticrc');
|
||||
all_critic_ok('.');
|
||||
Test::Perl::Critic->import( -profile => '.perlcriticrc' );
|
||||
my @files = map { chomp; $_ } `git ls-tree -r master --name-only`; # only files part of git
|
||||
all_critic_ok(@files);
|
||||
|
|
|
|||
Loading…
Reference in New Issue