Skip to content

Commit

Permalink
Add tests for Changes entries
Browse files Browse the repository at this point in the history
  • Loading branch information
robrwo committed Jul 13, 2024
1 parent b6be744 commit 474247a
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Changes
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ Revision history for Plack-Middleware-Statsd
[Documentation]
- Updated copyright year,

[Tests]
- Add more author tests.

v0.7.0 2024-07-13 12:51:37+01:00 Europe/London
[Enhancements]
- Code was adapted to use newer syntax features.
Expand Down
20 changes: 20 additions & 0 deletions t/author-changes.t
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!perl

use v5.20;
use warnings;

BEGIN {
unless ( $ENV{AUTHOR_TESTING} ) {
print qq{1..0 # SKIP these tests are for testing by the author\n};
exit;
}
}

use Test2::V0;

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.20

Can't locate Test2/V0.pm in @inc (you may need to install the Test2::V0 module) (@inc contains: /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/lib /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5 /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.20.3/x64/lib/site_perl/5.20.3/x86_64-linux /opt/hostedtoolcache/perl/5.20.3/x64/lib/site_perl/5.20.3 /opt/hostedtoolcache/perl/5.20.3/x64/lib/5.20.3/x86_64-linux /opt/hostedtoolcache/perl/5.20.3/x64/lib/5.20.3 .)

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.20

BEGIN failed--compilation aborted

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.22

Can't locate Test2/V0.pm in @inc (you may need to install the Test2::V0 module) (@inc contains: /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/lib /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5 /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.22.4/x64/lib/site_perl/5.22.4/x86_64-linux /opt/hostedtoolcache/perl/5.22.4/x64/lib/site_perl/5.22.4 /opt/hostedtoolcache/perl/5.22.4/x64/lib/5.22.4/x86_64-linux /opt/hostedtoolcache/perl/5.22.4/x64/lib/5.22.4 .)

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.22

BEGIN failed--compilation aborted

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.24

Can't locate Test2/V0.pm in @inc (you may need to install the Test2::V0 module) (@inc contains: /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/lib /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5 /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.24.4/x64/lib/site_perl/5.24.4/x86_64-linux /opt/hostedtoolcache/perl/5.24.4/x64/lib/site_perl/5.24.4 /opt/hostedtoolcache/perl/5.24.4/x64/lib/5.24.4/x86_64-linux /opt/hostedtoolcache/perl/5.24.4/x64/lib/5.24.4 .)

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.24

BEGIN failed--compilation aborted

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.26

Can't locate Test2/V0.pm in @inc (you may need to install the Test2::V0 module) (@inc contains: /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/lib /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5 /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.26.3/x64/lib/site_perl/5.26.3/x86_64-linux /opt/hostedtoolcache/perl/5.26.3/x64/lib/site_perl/5.26.3 /opt/hostedtoolcache/perl/5.26.3/x64/lib/5.26.3/x86_64-linux /opt/hostedtoolcache/perl/5.26.3/x64/lib/5.26.3)

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.26

BEGIN failed--compilation aborted

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.28

Can't locate Test2/V0.pm in @inc (you may need to install the Test2::V0 module) (@inc contains: /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/lib /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5 /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.28.3/x64/lib/site_perl/5.28.3/x86_64-linux /opt/hostedtoolcache/perl/5.28.3/x64/lib/site_perl/5.28.3 /opt/hostedtoolcache/perl/5.28.3/x64/lib/5.28.3/x86_64-linux /opt/hostedtoolcache/perl/5.28.3/x64/lib/5.28.3)

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.28

BEGIN failed--compilation aborted

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.30

Can't locate Test2/V0.pm in @inc (you may need to install the Test2::V0 module) (@inc contains: /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/lib /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5 /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.30.3/x64/lib/site_perl/5.30.3/x86_64-linux /opt/hostedtoolcache/perl/5.30.3/x64/lib/site_perl/5.30.3 /opt/hostedtoolcache/perl/5.30.3/x64/lib/5.30.3/x86_64-linux /opt/hostedtoolcache/perl/5.30.3/x64/lib/5.30.3)

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.30

BEGIN failed--compilation aborted

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.32

Can't locate Test2/V0.pm in @inc (you may need to install the Test2::V0 module) (@inc contains: /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/lib /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5 /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.32.1/x64/lib/site_perl/5.32.1/x86_64-linux /opt/hostedtoolcache/perl/5.32.1/x64/lib/site_perl/5.32.1 /opt/hostedtoolcache/perl/5.32.1/x64/lib/5.32.1/x86_64-linux /opt/hostedtoolcache/perl/5.32.1/x64/lib/5.32.1)

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.32

BEGIN failed--compilation aborted

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.34

Can't locate Test2/V0.pm in @inc (you may need to install the Test2::V0 module) (@inc contains: /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/lib /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5 /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.34.3/x64/lib/site_perl/5.34.3/x86_64-linux /opt/hostedtoolcache/perl/5.34.3/x64/lib/site_perl/5.34.3 /opt/hostedtoolcache/perl/5.34.3/x64/lib/5.34.3/x86_64-linux /opt/hostedtoolcache/perl/5.34.3/x64/lib/5.34.3)

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.34

BEGIN failed--compilation aborted

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.36

Can't locate Test2/V0.pm in @inc (you may need to install the Test2::V0 module) (@inc contains: /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/lib /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5 /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.36.3/x64/lib/site_perl/5.36.3/x86_64-linux /opt/hostedtoolcache/perl/5.36.3/x64/lib/site_perl/5.36.3 /opt/hostedtoolcache/perl/5.36.3/x64/lib/5.36.3/x86_64-linux /opt/hostedtoolcache/perl/5.36.3/x64/lib/5.36.3)

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.36

BEGIN failed--compilation aborted

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.38

Can't locate Test2/V0.pm in @inc (you may need to install the Test2::V0 module) (@inc entries checked: /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/lib /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5 /home/runner/work/Plack-Middleware-Statsd/Plack-Middleware-Statsd/local/lib/perl5/x86_64-linux /home/runner/work/_actions/shogo82148/actions-setup-perl/v1/scripts/lib /opt/hostedtoolcache/perl/5.38.2/x64/lib/site_perl/5.38.2/x86_64-linux /opt/hostedtoolcache/perl/5.38.2/x64/lib/site_perl/5.38.2 /opt/hostedtoolcache/perl/5.38.2/x64/lib/5.38.2/x86_64-linux /opt/hostedtoolcache/perl/5.38.2/x64/lib/5.38.2)

Check failure on line 13 in t/author-changes.t

View workflow job for this annotation

GitHub Actions / OS ubuntu-latest Perl 5.38

BEGIN failed--compilation aborted

eval "use Test::CPAN::Changes";

plan skip_all => "Test::CPAN::Changes not installed" if $@;

use Plack::Middleware::Statsd;
changes_ok( { version => Plack::Middleware::Statsd->VERSION } );

0 comments on commit 474247a

Please sign in to comment.