Files
testssl.sh/.github/workflows/unit_tests_ubuntu.yml
T
Workflow config file is invalid. Please check your config file: model.ReadWorkflow: yaml: line 6: did not find expected key
Dirk Wetter 01f9b49549 Update unit_tests_ubuntu.yml
... also for the ubuntu runner
2026-06-09 10:18:52 +02:00

65 lines
1.4 KiB
YAML

# "paths-ignore" should be in line with unit_tests_macos.yml
# and shellcheck.yml
---
name: CI run Ubuntu
on:
pull_request: [3.3dev]
paths-ignore:
- 'utils/**'
- 'doc/**'
- 'bin/**'
- '**.md'
- '**.1'
- '**.html'
- '**.pem'
- '**.pdf'
- '**.yml'
- '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@v6
- 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 2>&1