Skip to content

Commit

Permalink
have the dependents test test all dependents
Browse files Browse the repository at this point in the history
  • Loading branch information
wchristian committed Sep 23, 2023
1 parent 1c3c2e3 commit 2736fb5
Showing 1 changed file with 6 additions and 13 deletions.
19 changes: 6 additions & 13 deletions xt/dependent-modules.t
Original file line number Diff line number Diff line change
@@ -1,16 +1,9 @@
use strict;
use warnings;
use Test2::V0;
use strictures 2;

use Test::DependentModules qw( test_modules );
use Test::More;
use Test::DependentModules 'test_all_dependents';

my @modules = ('Perl::Critic');
skip_all "ENV var TEST_DEPENDENTS not set" if not $ENV{TEST_DEPENDENTS};

SKIP: {
skip '$ENV{TEST_DEPENDENTS} not set', scalar @modules
unless $ENV{TEST_DEPENDENTS};
test_modules(@modules);

}

done_testing();
# if timestamps are required, github's workflow view has an option
test_all_dependents PPI => { exclude => qr/^(Apache2-SSI|Devel-ebug-HTTP)$/ };

0 comments on commit 2736fb5

Please sign in to comment.