Skip to content

Commit ce6cdfe

Browse files
authored
Merge pull request #2774 from testssl/ubuntu_runner
Update / rename runner to be in sync w Mac runner
2 parents 6aa1c58 + cbd1502 commit ce6cdfe

File tree

3 files changed

+61
-42
lines changed

3 files changed

+61
-42
lines changed

.github/workflows/unit_tests.yml

Lines changed: 0 additions & 41 deletions
This file was deleted.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
---
2+
name: testssl.sh CI with Ubuntu
3+
4+
on:
5+
pull_request:
6+
paths-ignore:
7+
- 'utils/**'
8+
- 'doc/**'
9+
- 'bin/**'
10+
- '**.md'
11+
- '**.pem'
12+
- '**.pdf'
13+
- '**.html'
14+
- 'LICENSE'
15+
- 'Dockerfile'
16+
- 'Dockerfile.alpine'
17+
18+
permissions:
19+
contents: read
20+
21+
# see https://github.com/shogo82148/actions-setup-perl
22+
jobs:
23+
build:
24+
runs-on: ${{ matrix.os }}
25+
strategy:
26+
matrix:
27+
os: ['ubuntu-24.04']
28+
perl: ['5.38']
29+
name: Unit test on ${{ matrix.os }}
30+
steps:
31+
- uses: actions/checkout@v4
32+
33+
- name: Set up perl
34+
uses: shogo82148/actions-setup-perl@v1
35+
with:
36+
perl-version: ${{ matrix.perl }}
37+
38+
- name: Install OS dependencies
39+
run: |
40+
sudo apt install dnsutils jsonlint
41+
printf "%s\n" "----------"
42+
perl -V
43+
printf "%s\n" "----------"
44+
curl --version
45+
printf "%s\n" "----------"
46+
openssl version -a
47+
printf "%s\n" "----------"
48+
bash --version
49+
printf "%s\n" "----------"
50+
51+
- name: Install perl modules
52+
run: |
53+
cpanm --notest Test::More
54+
cpanm --notest Data::Dumper
55+
cpanm --notest JSON
56+
cpanm --notest Text::Diff
57+
58+
- name: run it
59+
run: |
60+
prove -v t

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11

22
## Intro
33

4-
[![CI tests](https://github.com/testssl/testssl.sh/actions/workflows/unit_tests.yml/badge.svg)](https://github.com/testssl/testssl.sh/actions/workflows/unit_tests.yml)
4+
[![CI tests](https://github.com/testssl/testssl.sh/actions/workflows/unit_tests_ubuntu.yml/badge.svg)](https://github.com/testssl/testssl.sh/actions/workflows/unit_tests_ubuntu.yml)
55
[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/testssl/testssl.sh?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
66
[![License](https://img.shields.io/github/license/testssl/testssl.sh)](https://github.com/testssl/testssl.sh/LICENSE)
77
[![Docker](https://img.shields.io/docker/pulls/drwetter/testssl.sh)](https://github.com/testssl/testssl.sh/blob/3.2/Dockerfile.md)

0 commit comments

Comments
 (0)