mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-31 13:55:25 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			57 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
			
		
		
	
	
			57 lines
		
	
	
		
			1.2 KiB
		
	
	
	
		
			YAML
		
	
	
	
	
	
| ---
 | |
| 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@v5
 | |
| 
 | |
|       - 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" "----------"
 | |
| 
 | |
|       - 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
 | 
