File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,14 +33,14 @@ jobs:
3333 run : perl -V
3434 - name : Set up perl
3535 run : |
36- cpanm --with-develop --installdeps .
36+ cpanm --with-feature=ci --installdeps --notest .
3737 perl Build.PL
3838 ./Build build
3939 - name : Run tests
4040 run : |
4141 TEST_SHARED=1 TEST_SUBREAPER=1 cover -test -report codecovbash
4242 - name : Upload coverage to ☂️ Codecov
43- uses : codecov/codecov-action@v2
43+ uses : codecov/codecov-action@v3
4444 if : matrix.perl == '5.30'
4545 with :
4646 file : cover_db/codecov.json
Original file line number Diff line number Diff line change 1+ --merge
2+ --formatter TAP::Formatter::Color
Original file line number Diff line number Diff line change @@ -14,6 +14,13 @@ use builder::custom;
1414use File::Basename;
1515use File::Spec;
1616
17+ my $tap_harness_args = {
18+ " verbosity" => 1,
19+ " merge" => 1,
20+ " formatter_class" => " TAP::Formatter::GitHubActions" ,
21+
22+ };
23+
1724my %args = (
1825 license => ' perl_5' ,
1926 dynamic_config => 0,
@@ -50,9 +57,9 @@ my %args = (
5057
5158 test_files => ((-d ' .git' || $ENV {RELEASE_TESTING }) && -d ' xt' ) ? ' t/ xt/' : ' t/' ,
5259 recursive_test_files => 1,
53-
54-
60+ tap_harness_args => $tap_harness_args ,
5561);
62+
5663if (-d ' share' ) {
5764 $args {share_dir } = ' share' ;
5865}
Original file line number Diff line number Diff line change @@ -9,10 +9,14 @@ on configure => sub {
99on test => sub {
1010 requires ' Test::More' ;
1111 requires ' Test::Exception' ;
12+ requires ' TAP::Formatter::Color' ;
13+ requires ' Test::Pod' ;
1214};
13- on develop => sub {
14- requires ' Devel::Cover::Report::Codecovbash' ;
15+
16+ feature ' ci' => sub {
17+ requires ' Minilla' ;
1518 requires ' Devel::Cover' ;
19+ requires ' Devel::Cover::Report::Codecovbash' ;
20+ requires ' TAP::Formatter::GitHubActions' ;
1621 requires ' Test::Pod::Coverage' ;
17- requires ' Test::Pod' ;
18- }
22+ };
Original file line number Diff line number Diff line change @@ -7,3 +7,13 @@ build_class = "builder::custom"
77
88[Metadata .resources ]
99repository = " https://github.com/openSUSE/Mojo-IOLoop-ReadWriteProcess"
10+
11+ [unsupported ]
12+ os = [
13+ " MSWin32" ,
14+ " cygwin" ,
15+ ]
16+
17+ [tap_harness_args ]
18+ merge = 1
19+ formatter = " TAP::Formatter::GitHubActions"
You can’t perform that action at this time.
0 commit comments