Skip to content

Commit

Permalink
Skip pod coverage tests on build servers for the moment
Browse files Browse the repository at this point in the history
  • Loading branch information
Duncan Ferguson committed Oct 15, 2024
1 parent 3f11190 commit fde7542
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions t/pod-coverage.t
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,12 @@ use strict;
use warnings;
use Test::More;

# Ensure a recent version of Test::Pod::Coverage
my $min_tpc = 1.08;
eval "use Test::Pod::Coverage $min_tpc";
plan skip_all =>
"Test::Pod::Coverage $min_tpc required for testing POD coverage"
if $@;
use Test::More;
eval "use Test::Pod::Coverage 1.00";
plan skip_all => "Test::Pod::Coverage 1.00 required for testing POD coverage" if $@;

# Test::Pod::Coverage doesn't require a minimum Pod::Coverage version,
# but older versions don't recognize some common documentation styles
my $min_pc = 0.18;
eval "use Pod::Coverage $min_pc";
plan skip_all => "Pod::Coverage $min_pc required for testing POD coverage"
if $@;
unless ( $ENV{RELEASE_TESTING} ) {
plan( skip_all => "Author tests not required for installation" );
}

all_pod_coverage_ok();

0 comments on commit fde7542

Please sign in to comment.