mirror of
https://github.com/drwetter/testssl.sh.git
synced 2026-06-03 06:58:43 +02:00
ba7d9604a9
as there is an inexplicable difference between a real Mac which passes the run and the one in github -"DNS_HTTPS_rrecord","testssl.sh/81.169.235.32","443","OK","81.169.235.32","","" +"DNS_HTTPS_rrecord","testssl.sh/81.169.235.32","443","OK","1 . alpn='h2'","","" The first line comes from the runner
61 lines
1.3 KiB
YAML
61 lines
1.3 KiB
YAML
# "paths-ignore" should be in line with unit_tests_ubuntu.yml
|
|
# and shellcheck.yml
|
|
---
|
|
name: CI run MacOS
|
|
|
|
on:
|
|
pull_request:
|
|
paths-ignore:
|
|
- 'utils/**'
|
|
- 'doc/**'
|
|
- 'bin/**'
|
|
- '**.md'
|
|
- '**.1'
|
|
- '**.html'
|
|
- '**.pem'
|
|
- '**.pdf'
|
|
- '**.yml'
|
|
- 'LICENSE'
|
|
- 'Dockerfile'
|
|
- 'Dockerfile.alpine'
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: macos-14
|
|
|
|
name: PoC unit test on MacOS
|
|
steps:
|
|
- name: checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Set up system (perl, curl is installed already)
|
|
run: |
|
|
brew install socat jsonlint cpanminus
|
|
printf "%s\n" "----------"
|
|
mv -v /opt/homebrew/bin/openssl /opt/homebrew/bin/openssl.NOPE
|
|
printf "%s\n" "----------"
|
|
perl -V
|
|
printf "%s\n" "----------"
|
|
curl --version
|
|
printf "%s\n" "----------"
|
|
openssl version -a
|
|
printf "%s\n" "----------"
|
|
bash --version
|
|
printf "%s\n" "----------"
|
|
echo $PATH
|
|
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
|