mirror of
https://github.com/drwetter/testssl.sh.git
synced 2025-09-03 02:28:28 +02:00
Minor polish unit tests
This PR (re-)names the unit test starter properly and improves for some unit tests the phrasing and formatting.
This commit is contained in:
41
.github/workflows/unit_tests.yml
vendored
Normal file
41
.github/workflows/unit_tests.yml
vendored
Normal file
@ -0,0 +1,41 @@
|
||||
name: testssl.sh CI
|
||||
|
||||
on:
|
||||
pull_request:
|
||||
paths-ignore:
|
||||
- 'utils/**'
|
||||
- 'doc/**'
|
||||
- 'bin/**'
|
||||
- '**.md'
|
||||
- '**.pem'
|
||||
- '**.pdf'
|
||||
- '**.html'
|
||||
- 'LICENSE'
|
||||
- 'Dockerfile'
|
||||
- 'Dockerfile.git'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ${{ matrix.os }}
|
||||
strategy:
|
||||
matrix:
|
||||
os: ['ubuntu-22.04']
|
||||
perl: ['5.26']
|
||||
name: Perl ${{ matrix.perl }} on ${{ matrix.os }}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- name: Set up perl
|
||||
uses: shogo82148/actions-setup-perl@v1
|
||||
with:
|
||||
perl-version: ${{ matrix.perl }}
|
||||
- run: perl -V
|
||||
- name: Install deps
|
||||
run: sudo apt install dnsutils jsonlint
|
||||
- run: cpanm --notest Test::More
|
||||
- run: cpanm --notest Data::Dumper
|
||||
- run: cpanm --notest JSON
|
||||
- run: cpanm --notest Text::Diff
|
||||
- run: prove -v
|
Reference in New Issue
Block a user