diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index fffbf6a..b07271e 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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/ \ No newline at end of file + perl-version: ${{ matrix.perl }} + + - name: Install dependencies + run: cpm install -g --with-configure + + - run: perl Build.PL + - run: ./Build + - run: ./Build test + diff --git a/META.json b/META.json index da2a737..957c6df 100644 --- a/META.json +++ b/META.json @@ -4,13 +4,13 @@ "tjmtmmnk " ], "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" : { @@ -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" } } diff --git a/cpanfile b/cpanfile index 07058f8..987896f 100644 --- a/cpanfile +++ b/cpanfile @@ -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'; +};