-
Notifications
You must be signed in to change notification settings - Fork 44
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
have the dependents test test all dependents
- Loading branch information
1 parent
1c3c2e3
commit 2736fb5
Showing
1 changed file
with
6 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)$/ }; |