Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/dzil-build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,23 @@ jobs:
run: cpan-install-dist-deps && test-dist
env:
CODECOV_TOKEN: ${{secrets.CODECOV_TOKEN}}
# Perl development version (blead). Informational only: a red X here means the
# dist broke on the upcoming Perl (see GH#96, where it failed to install on
# blead 5.45.1). Keep this OUT of the required status checks so it never
# blocks a merge -- we want the signal, not a gate.
blead-job:
name: Perl blead (devel, non-blocking)
needs: build-job
runs-on: ubuntu-latest
container:
image: perldocker/perl-tester:devel
steps:
- uses: actions/download-artifact@v7
with:
name: build_dir
path: .
- name: Install deps and test on blead
run: cpan-install-dist-deps && test-dist
test-job:
needs: build-job
runs-on: ${{ matrix.os }}
Expand Down
11 changes: 6 additions & 5 deletions t/diag.t
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@ use IO::Socket::SSL::Utils ();
use Socket ();
use Test::More import => [qw( diag done_testing pass subtest )];
use Test::Needs;
use Try::Tiny qw( try );

subtest 'openssl' => sub {
test_needs 'Capture::Tiny';
Expand All @@ -28,18 +27,20 @@ subtest 'openssl' => sub {

subtest 'net_ssleay' => sub {
test_needs 'Net::SSLeay';
try {
eval {
diag(
sprintf 'Net::SSLeay::OPENSSL_VERSION_NUMBER() 0x%08x',
Net::SSLeay::OPENSSL_VERSION_NUMBER()
);
};
try {
1;
} or diag("Net::SSLeay::OPENSSL_VERSION_NUMBER() unavailable: $@");
eval {
diag(
sprintf 'Net::SSLeay::LIBRESSL_VERSION_NUMBER() 0x%08x',
Net::SSLeay::LIBRESSL_VERSION_NUMBER()
);
};
1;
} or diag("Net::SSLeay::LIBRESSL_VERSION_NUMBER() unavailable: $@");
pass('Net::SSLeay');
};

Expand Down