summaryrefslogtreecommitdiffstats
path: root/.github/workflows/test.yml
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:11:11 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-15 17:11:11 +0000
commitba28aa09cebfba17fd16de2af6fedf7ecc76eea5 (patch)
tree44e2ff1493776a06e95c359c53a1cabca5d8a8d4 /.github/workflows/test.yml
parentInitial commit. (diff)
downloadtestssl.sh-ba28aa09cebfba17fd16de2af6fedf7ecc76eea5.tar.xz
testssl.sh-ba28aa09cebfba17fd16de2af6fedf7ecc76eea5.zip
Adding upstream version 3.2~rc3+dfsg.upstream/3.2_rc3+dfsgupstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '.github/workflows/test.yml')
-rw-r--r--.github/workflows/test.yml40
1 files changed, 40 insertions, 0 deletions
diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml
new file mode 100644
index 0000000..bb69122
--- /dev/null
+++ b/.github/workflows/test.yml
@@ -0,0 +1,40 @@
+name: testssl.sh CI
+
+on:
+ pull_request:
+ paths-ignore:
+ - 'utils/**'
+ - 'doc/**'
+ - 'bin/**'
+ - '**.md'
+ - '**.pem'
+ - '**.pdf'
+ - '**.html'
+ - 'LICENSE'
+ - 'Dockerfile'
+
+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