From 58c8c39db62bbd996042102ade0994038a7977de Mon Sep 17 00:00:00 2001 From: James Raspass Date: Tue, 13 Aug 2024 09:42:28 +0100 Subject: [PATCH] Use the cpanfile in GitHub Actions --- .github/workflows/test.yml | 3 +-- cpanfile | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cc94f6fd..c6e42d0c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -39,8 +39,7 @@ jobs: - run: perl -V - # TODO It would be nice if we had a cpanfile. - - run: cpanm --notest --skip-satisfied Test::Simple~0.90 + - run: cpanm --installdeps --notest --skip-satisfied . - run: perl Makefile.PL diff --git a/cpanfile b/cpanfile index fffad340..defa67f9 100644 --- a/cpanfile +++ b/cpanfile @@ -31,5 +31,5 @@ on "build" => sub { }; on "test" => sub { - requires "Test::More"; + requires "Test::More" => "0.90"; # For done_testing() };