Skip to content

Commit 060a9a4

Browse files
author
brian d foy
committed
Add coverage tests, ignore other OSes
1 parent ae92d15 commit 060a9a4

File tree

11 files changed

+39
-14
lines changed

11 files changed

+39
-14
lines changed

.github/workflows/linux.yml

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- '*'
7+
- '!macos*'
8+
- '!windows*'
79
tags-ignore:
810
# I tag release pushes but those should have already been tested
911
- 'release-*'
@@ -69,7 +71,12 @@ jobs:
6971
run: |
7072
perl Makefile.PL
7173
make disttest
72-
- name: Run coverage tests
74+
- name: Setup coverage tests
7375
run: |
76+
echo $PATH
7477
cpan -M https://www.cpan.org -T Devel::Cover Devel::Cover::Report::Coveralls
78+
- name: Run coverage tests
79+
env:
80+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
81+
run: |
7582
cover -test -report coveralls

.github/workflows/macos.yml

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,8 @@ on:
44
push:
55
branches:
66
- '*'
7+
- '!linux*'
8+
- '!windows*'
79
tags-ignore:
810
# I tag release pushes but those should have already been tested
911
- 'release-*'
@@ -29,9 +31,14 @@ jobs:
2931
- name: Platform check
3032
run: uname -a
3133
- name: Set up Perl
32-
run: brew install perl
34+
run: |
35+
brew install perl
36+
echo /usr/local/Cellar/perl/5.32.1/bin >> $GITHUB_PATH
3337
- name: Perl version check
34-
run: perl -V
38+
run: |
39+
echo $PATH
40+
which perl
41+
perl -V
3542
- name: Prepare cpan
3643
run: |
3744
openssl version
@@ -51,7 +58,12 @@ jobs:
5158
run: |
5259
perl Makefile.PL
5360
make disttest
54-
- name: Run coverage tests
61+
- name: Setup coverage tests
5562
run: |
63+
echo $PATH
5664
cpan -M https://www.cpan.org -T Devel::Cover Devel::Cover::Report::Coveralls
65+
- name: Run coverage tests
66+
env:
67+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
68+
run: |
5769
cover -test -report coveralls

.github/workflows/windows.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ on:
77
tags-ignore:
88
# I tag release pushes but those should have already been tested
99
- 'release-*'
10+
- '!linux*'
11+
- '!macos*'
1012
paths-ignore:
1113
# list all the files which are irrelevant to the tests
1214
# non-code, support files, docs, etc
@@ -55,7 +57,11 @@ jobs:
5557
run: |
5658
perl Makefile.PL
5759
make disttest
58-
- name: Run coverage tests
60+
- name: Setup coverage tests
5961
run: |
6062
cpan -M https://www.cpan.org -T Devel::Cover Devel::Cover::Report::Coveralls
63+
- name: Run coverage tests
64+
env:
65+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
66+
run: |
6167
cover -test -report coveralls

lib/Module/Release.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ use strict;
2525
use warnings;
2626
no warnings;
2727

28-
our $VERSION = '2.127_04';
28+
our $VERSION = '2.127_05';
2929

3030
use Carp qw(carp croak);
3131
use File::Basename qw(dirname);

lib/Module/Release/Kwalitee.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use Exporter qw(import);
88

99
our @EXPORT = qw(check_kwalitee cpants_lint cpants_pass_regex );
1010

11-
our $VERSION = '2.127_04';
11+
our $VERSION = '2.127_05';
1212

1313
=encoding utf8
1414

lib/Module/Release/MANIFEST.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use Exporter qw(import);
88

99
our @EXPORT = qw( check_MANIFEST );
1010

11-
our $VERSION = '2.127_04';
11+
our $VERSION = '2.127_05';
1212

1313
=encoding utf8
1414

lib/Module/Release/MetaCPAN.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use Carp;
1010

1111
our @EXPORT = qw( cpan_version );
1212

13-
our $VERSION = '2.127_04';
13+
our $VERSION = '2.127_05';
1414

1515
=encoding utf8
1616

lib/Module/Release/PAUSE.pm

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use Carp qw(croak);
1010

1111
our @EXPORT = qw();
1212

13-
our $VERSION = '2.127_04';
13+
our $VERSION = '2.127_05';
1414

1515
=encoding utf8
1616
@@ -34,7 +34,7 @@ L<Module::Release>
3434
3535
=head1 SOURCE AVAILABILITY
3636
37-
This source is in GitHub
37+
This source is in GitHub:
3838
3939
https://github.com/briandfoy/module-release
4040

lib/Module/Release/Prereq.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use Exporter qw(import);
88

99
our @EXPORT = qw( check_prereqs _get_prereq_ignore_list );
1010

11-
our $VERSION = '2.127_04';
11+
our $VERSION = '2.127_05';
1212

1313
=encoding utf8
1414

lib/Module/Release/SVN.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use Carp;
1010

1111
our @EXPORT = qw(check_vcs vcs_tag make_vcs_tag);
1212

13-
our $VERSION = '2.127_04';
13+
our $VERSION = '2.127_05';
1414

1515
=encoding utf8
1616

0 commit comments

Comments
 (0)