Skip release tests unless releasing

This commit is contained in:
Duncan Ferguson 2019-03-16 09:04:23 +00:00
parent 40d0bd4b8f
commit fb4b90886b

View file

@ -1,4 +1,9 @@
use Test::More;
unless ( $ENV{RELEASE_TESTING} ) {
plan( skip_all => "Author tests not required for installation" );
}
eval 'use Test::CPAN::Changes';
plan skip_all => 'Test::CPAN::Changes required for this test' if $@;
changes_ok();