mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-02 18:18:29 +02:00
Update / rename runner to be in sync w Mac runner
This commit is contained in:
60
.github/workflows/unit_tests_ubuntu.yml
vendored
Normal file
60
.github/workflows/unit_tests_ubuntu.yml
vendored
Normal file
@ -0,0 +1,60 @@
|
||||
---
|
||||
name: testssl.sh CI with Ubuntu
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'utils/**'
|
||||
- 'doc/**'
|
||||
- 'bin/**'
|
||||
- '**.md'
|
||||
- '**.pem'
|
||||
- '**.pdf'
|
||||
- '**.html'
|
||||
- 'LICENSE'
|
||||
- 'Dockerfile'
|
||||
- 'Dockerfile.alpine'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
# see https://github.com/shogo82148/actions-setup-perl
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: ['ubuntu-24.04']
|
||||
perl: ['5.38']
|
||||
name: Unit test on ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- name: Set up perl
|
||||
uses: shogo82148/actions-setup-perl@v1
|
||||
with:
|
||||
perl-version: ${{ matrix.perl }}
|
||||
|
||||
- name: Install OS dependencies
|
||||
run: |
|
||||
sudo apt install dnsutils jsonlint
|
||||
printf "%s\n" "----------"
|
||||
perl -V
|
||||
printf "%s\n" "----------"
|
||||
curl --version
|
||||
printf "%s\n" "----------"
|
||||
openssl version -a
|
||||
printf "%s\n" "----------"
|
||||
bash --version
|
||||
printf "%s\n" "----------"
|
||||
|
||||
- name: Install perl modules
|
||||
run: |
|
||||
cpanm --notest Test::More
|
||||
cpanm --notest Data::Dumper
|
||||
cpanm --notest JSON
|
||||
cpanm --notest Text::Diff
|
||||
|
||||
- name: run it
|
||||
run: |
|
||||
prove -v t
|
Reference in New Issue
Block a user