From bcd527e865bbb62ccaa70c94270185bd042921bf Mon Sep 17 00:00:00 2001 From: Duncan Ferguson Date: Tue, 15 Oct 2024 20:50:00 +0100 Subject: [PATCH] Skip coverage tests unless 1 is set --- t/pod-coverage.t | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/t/pod-coverage.t b/t/pod-coverage.t index f4a0e5e..995cd2f 100644 --- a/t/pod-coverage.t +++ b/t/pod-coverage.t @@ -2,12 +2,9 @@ use strict; use warnings; use Test::More; -use Test::More; eval "use Test::Pod::Coverage 1.00"; plan skip_all => "Test::Pod::Coverage 1.00 required for testing POD coverage" if $@; -unless ( $ENV{RELEASE_TESTING} ) { - plan( skip_all => "Author tests not required for installation" ); -} +plan skip_all => "Skipping coverage tests" unless $ENV{COVERAGE}; all_pod_coverage_ok();