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>
This commit is contained in:
parent
b41cfcd38d
commit
2bc251cfdd
1 changed files with 3 additions and 2 deletions
|
@ -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 a new issue