Skip to content

Commit

Permalink
use cpanm everywhere to get around www.cpan.org cert
Browse files Browse the repository at this point in the history
  • Loading branch information
briandfoy committed Apr 29, 2023
1 parent d27fb10 commit a725e1d
Showing 1 changed file with 3 additions and 12 deletions.
15 changes: 3 additions & 12 deletions .github/workflows/linux.yml
Expand Up @@ -65,15 +65,6 @@ jobs:
run: |
uname -a
openssl version
- name: Setup platform
run: |
apt-get clean
apt-get update
apt-get upgrade -y
apt-get install -y ca-certificates
openssl s_client -showcerts -connect www.cpan.org:443 </dev/null
grep X3 /etc/ca-certificates.conf
curl https://www.cpan.org
- name: Perl version check
run: |
perl -V
Expand All @@ -92,13 +83,13 @@ jobs:
run: |
curl -L https://cpanmin.us | perl - App::cpanminus
cpanm --notest IO::Socket::SSL App::Cpan HTTP::Tiny
cpan -M https://www.cpan.org -T ExtUtils::MakeMaker Test::Manifest
cpanm --notest ExtUtils::MakeMaker Test::Manifest
# Install the dependencies, again not testing them. This installs the
# module in the current directory, so we end up installing the module,
# but that's not a big deal.
- name: Install dependencies
run: |
cpan -M https://www.cpan.org -T .
cpanm --notest .
- name: Run tests
run: |
perl Makefile.PL
Expand All @@ -107,7 +98,7 @@ jobs:
- name: Author tests
if: hashFiles('xt') != ''
run: |
cpan -M https://www.cpan.org -T Test::CPAN::Changes
cpanm --notest Test::CPAN::Changes
prove -r -b xt
# Running tests in parallel should be faster, but it's also more
# tricky in cases where different tests share a feature, such as a
Expand Down

0 comments on commit a725e1d

Please sign in to comment.