Skip to content

Commit ab5f89d

Browse files
committed
Update cpanfile with XML::Tiny and YAML::Tiny
And make sure they're installed for testing.
1 parent 722b980 commit ab5f89d

3 files changed

Lines changed: 13 additions & 3 deletions

File tree

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,14 @@ jobs:
2323
- name: Install Prereqs
2424
run: |
2525
sudo apt-get update -qq
26-
sudo env DEBIAN_FRONTEND=noninteractive apt-get install -qq libicu-dev gettext aspell-en software-properties-common
26+
sudo env DEBIAN_FRONTEND=noninteractive apt-get install -qq libicu-dev gettext aspell-en software-properties-common
2727
- name: Install Dist::Zilla
2828
run: cpm install --verbose --show-build-log-on-failure --no-test Dist::Zilla
2929
- name: Install Build Dependencies
3030
env: { PERL5LIB: "${{ github.workspace }}/local/lib/perl5" }
3131
run: local/bin/dzil authordeps | xargs cpm install --verbose --show-build-log-on-failure --no-test
32+
- name: Install Dependencies
33+
run: cpm install --verbose --show-build-log-on-failure --no-test --with-recommends --cpanfile dist/cpanfile
3234
- name: Prepare PAUSE
3335
env:
3436
CPAN_USERNAME: ${{ secrets.CPAN_USERNAME }}

dist.ini

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,12 +82,16 @@ DBD::Firebird = 1.11
8282
DBD::ODBC = 1.59
8383
Time::HiRes = 0
8484
Time::Local = 0
85+
XML::Tiny = 2.07
86+
YAML::Tiny = 1.76
8587

8688
[Prereqs / DevelopSuggests]
8789
DBD::Oracle = 1.23
8890

8991
[Prereqs / TestRequires]
9092
DBD::Mem = 0
93+
XML::Tiny = 2.07
94+
YAML::Tiny = 1.76
9195

9296
;; Recommend author dependencies (dzil) in develop/recommends.
9397
[Prereqs::AuthorDeps]

dist/cpanfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -53,8 +53,8 @@ requires "URI" => "0";
5353
requires "URI::QueryParam" => "0";
5454
requires "URI::db" => "0.20";
5555
requires "User::pwent" => "0";
56-
requires "XML::Tiny" => "0";
57-
requires "YAML::Tiny" => "0";
56+
requires "XML::Tiny" => "2.07";
57+
requires "YAML::Tiny" => "1.76";
5858
requires "constant" => "0";
5959
requires "locale" => "0";
6060
requires "namespace::autoclean" => "0.16";
@@ -111,6 +111,8 @@ on 'test' => sub {
111111
requires "Test::More" => "0.94";
112112
requires "Test::NoWarnings" => "0.083";
113113
requires "Test::Warn" => "0.31";
114+
requires "XML::Tiny" => "2.07";
115+
requires "YAML::Tiny" => "1.76";
114116
requires "base" => "0";
115117
requires "lib" => "0";
116118
};
@@ -174,6 +176,8 @@ on 'develop' => sub {
174176
recommends "Test::Spelling" => "0";
175177
recommends "Time::HiRes" => "0";
176178
recommends "Time::Local" => "0";
179+
recommends "XML::Tiny" => "2.07";
180+
recommends "YAML::Tiny" => "1.76";
177181
};
178182

179183
on 'develop' => sub {

0 commit comments

Comments
 (0)