Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 31 additions & 16 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,35 @@
name: Test pau
on: [ push ]
name: test
on:
push:
branches:
- main
pull_request:
jobs:
Test-pau:
build:
runs-on: ubuntu-latest
strategy:
matrix:
perl:
[
"5.42",
"5.40",
"5.38",
"5.36",
"5.34",
]

name: Perl ${{ matrix.perl }}
steps:
- name: Check out repository code
uses: actions/checkout@v3
- name: Build image
uses: docker/build-push-action@v2
- uses: actions/checkout@v4
- name: Setup perl
uses: shogo82148/actions-setup-perl@v1
with:
file: Dockerfile-devel
tags: test-image:latest
push: false
- name: Test
uses: addnab/docker-run-action@v3
with:
image: test-image:latest
run: |
carton exec -- prove -lvr -I t/fixtures/lib t/
perl-version: ${{ matrix.perl }}

- name: Install dependencies
run: cpm install -g --with-configure

- run: perl Build.PL

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I didn't know this way of writing!

- run: ./Build
- run: ./Build test

32 changes: 16 additions & 16 deletions META.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@
"tjmtmmnk <tjmtmmnk@gmail.com>"
],
"dynamic_config" : 0,
"generated_by" : "Minilla/v3.1.20, CPAN::Meta::Converter version 2.150005",
"generated_by" : "Minilla/v3.1.25, CPAN::Meta::Converter version 2.150010",
"license" : [
"perl_5"
],
"meta-spec" : {
"url" : "http://search.cpan.org/perldoc?CPAN::Meta::Spec",
"version" : "2"
"version" : 2
},
"name" : "Pau",
"no_index" : {
Expand Down Expand Up @@ -42,24 +42,24 @@
},
"runtime" : {
"requires" : {
"Data::Printer" : "== 1.000004",
"Data::UUID" : "== 1.226",
"File::Slurp" : "== 9999.32",
"JSON::XS" : "== 4.03",
"List::MoreUtils" : "== 0.430",
"List::Util" : "== 1.59",
"Module::CoreList" : "== 5.20220920",
"PPI" : "== 1.274",
"Parallel::ForkManager" : "== 2.02",
"Smart::Args::TypeTiny" : "== 0.13",
"Symbol::Get" : "== 0.10",
"Try::Tiny" : "== 0.31"
"Data::Printer" : "1.000004",
"Data::UUID" : "1.226",
"File::Slurp" : "9999.32",
"JSON::XS" : "4.03",
"List::MoreUtils" : "0.430",
"List::Util" : "1.59",
"Module::CoreList" : "5.20220920",
"PPI" : "1.274",
"Parallel::ForkManager" : "2.02",
"Smart::Args::TypeTiny" : "0.13",
"Symbol::Get" : "0.10",
"Try::Tiny" : "0.31"
}
},
"test" : {
"requires" : {
"Test2" : "== 1.302191",
"Test2::Suite" : "== 0.000145",
"Test2" : "1.302191",
"Test2::Suite" : "0.000145",
"Test::More" : "0.98"
}
}
Expand Down
4 changes: 4 additions & 0 deletions cpanfile
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,7 @@ on 'test' => sub {
requires 'Test2::Suite', '0.000145';
requires 'Test::More', '0.98';
};

on configure => sub {
requires 'Module::Build::Tiny', '0.035';
};
Loading