From ebcd3105c84a9b38b2a8786dad2af7575655712b Mon Sep 17 00:00:00 2001 From: Mikel Olasagasti Uranga Date: Sun, 6 Jun 2021 19:19:23 +0200 Subject: [PATCH] Add GitHub Actions testing --- .github/workflows/test.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .github/workflows/test.yml diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml new file mode 100644 index 0000000..f30538d --- /dev/null +++ b/.github/workflows/test.yml @@ -0,0 +1,26 @@ +name: testssl.sh CI + +on: [push, pull_request] + +jobs: + build: + runs-on: ${{ matrix.os }} + strategy: + matrix: + os: ['ubuntu-latest'] + perl: [ '5.30', '5.26' ] + name: Perl ${{ matrix.perl }} on ${{ matrix.os }} + steps: + - uses: actions/checkout@v2 + - 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