From cddf6b75630a60296b0d9e7c3e09e34a37a58bfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?K=C5=8Dan?= Date: Fri, 15 May 2026 06:35:09 -0600 Subject: [PATCH] ci: add cpanm fallback when cpm is unavailable Older perldocker/perl-tester images (5.10-5.22) no longer ship cpm pre-installed, causing CI failures on all PR branches. Fall back to cpanm --installdeps when cpm is not found. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/testsuite.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/testsuite.yml b/.github/workflows/testsuite.yml index 8af84cc..b3673de 100644 --- a/.github/workflows/testsuite.yml +++ b/.github/workflows/testsuite.yml @@ -69,7 +69,7 @@ jobs: - uses: actions/checkout@v6 - run: perl -V - name: Install Dependencies - run: cpm install -g --show-build-log-on-failure + run: cpm install -g --show-build-log-on-failure || cpanm --installdeps --notest . - run: perl Makefile.PL - run: make - run: make test