Skip to content

Commit

Permalink
use AUTHOR_TESTING instead of RELEASE_TESTING
Browse files Browse the repository at this point in the history
  • Loading branch information
nigelhorne committed May 15, 2024
1 parent 966b4e0 commit 64f75cb
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 23 deletions.
2 changes: 1 addition & 1 deletion MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ t/opencage.t
t/osm.t
t/ovi.t
t/pod-cm.t
t/pod-snippets.t
t/pod-spelling.t
t/pod-synopsis.t
t/pod.t
t/postcodes.t
t/rand.t
t/snippets.t
t/ua.t
t/unused.t
t/us.t
Expand Down
16 changes: 16 additions & 0 deletions t/pod-snippets.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
#!perl -wT

use strict;
use warnings;
use Test::Most;
use Test::Needs 'Test::Pod::Snippets';

if($ENV{'AUTHOR_TESTING'}) {
my @modules = qw/ Geo::Coder::List /;
Test::Pod::Snippets->import();
Test::Pod::Snippets->new()->runtest(module => $_, testgroup => 1) for @modules;

done_testing();
} else {
plan(skip_all => 'Author tests not required for installation');
}
22 changes: 0 additions & 22 deletions t/snippets.t

This file was deleted.

0 comments on commit 64f75cb

Please sign in to comment.