mirror of
				https://github.com/drwetter/testssl.sh.git
				synced 2025-10-30 21:35:26 +01:00 
			
		
		
		
	Merge pull request #2774 from testssl/ubuntu_runner
Update / rename runner to be in sync w Mac runner
This commit is contained in:
		
							
								
								
									
										41
									
								
								.github/workflows/unit_tests.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										41
									
								
								.github/workflows/unit_tests.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,41 +0,0 @@ | |||||||
| name: testssl.sh CI |  | ||||||
|  |  | ||||||
| on: |  | ||||||
|   pull_request: |  | ||||||
|     paths-ignore: |  | ||||||
|       - 'utils/**' |  | ||||||
|       - 'doc/**' |  | ||||||
|       - 'bin/**' |  | ||||||
|       - '**.md' |  | ||||||
|       - '**.pem' |  | ||||||
|       - '**.pdf' |  | ||||||
|       - '**.html' |  | ||||||
|       - 'LICENSE' |  | ||||||
|       - 'Dockerfile' |  | ||||||
|       - 'Dockerfile.alpine' |  | ||||||
|  |  | ||||||
| permissions: |  | ||||||
|   contents: read |  | ||||||
|  |  | ||||||
| jobs: |  | ||||||
|   build: |  | ||||||
|     runs-on: ${{ matrix.os }} |  | ||||||
|     strategy: |  | ||||||
|       matrix: |  | ||||||
|         os: ['ubuntu-24.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 |  | ||||||
							
								
								
									
										60
									
								
								.github/workflows/unit_tests_ubuntu.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										60
									
								
								.github/workflows/unit_tests_ubuntu.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,60 @@ | |||||||
|  | --- | ||||||
|  | name: testssl.sh CI with Ubuntu | ||||||
|  |  | ||||||
|  | on: | ||||||
|  |   pull_request: | ||||||
|  |     paths-ignore: | ||||||
|  |       - 'utils/**' | ||||||
|  |       - 'doc/**' | ||||||
|  |       - 'bin/**' | ||||||
|  |       - '**.md' | ||||||
|  |       - '**.pem' | ||||||
|  |       - '**.pdf' | ||||||
|  |       - '**.html' | ||||||
|  |       - 'LICENSE' | ||||||
|  |       - 'Dockerfile' | ||||||
|  |       - 'Dockerfile.alpine' | ||||||
|  |  | ||||||
|  | permissions: | ||||||
|  |   contents: read | ||||||
|  |  | ||||||
|  | # see https://github.com/shogo82148/actions-setup-perl | ||||||
|  | jobs: | ||||||
|  |   build: | ||||||
|  |     runs-on: ${{ matrix.os }} | ||||||
|  |     strategy: | ||||||
|  |       matrix: | ||||||
|  |         os: ['ubuntu-24.04'] | ||||||
|  |         perl: ['5.38'] | ||||||
|  |     name: Unit test on ${{ matrix.os }} | ||||||
|  |     steps: | ||||||
|  |       - uses: actions/checkout@v4 | ||||||
|  |  | ||||||
|  |       - name: Set up perl | ||||||
|  |         uses: shogo82148/actions-setup-perl@v1 | ||||||
|  |         with: | ||||||
|  |           perl-version: ${{ matrix.perl }} | ||||||
|  |  | ||||||
|  |       - name: Install OS dependencies | ||||||
|  |         run: | | ||||||
|  |           sudo apt install dnsutils jsonlint | ||||||
|  |           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 | ||||||
| @@ -1,7 +1,7 @@ | |||||||
|  |  | ||||||
| ## Intro | ## Intro | ||||||
|  |  | ||||||
| [](https://github.com/testssl/testssl.sh/actions/workflows/unit_tests.yml) | [](https://github.com/testssl/testssl.sh/actions/workflows/unit_tests_ubuntu.yml) | ||||||
| [](https://gitter.im/testssl/testssl.sh?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | [](https://gitter.im/testssl/testssl.sh?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) | ||||||
| [](https://github.com/testssl/testssl.sh/LICENSE) | [](https://github.com/testssl/testssl.sh/LICENSE) | ||||||
| [](https://github.com/testssl/testssl.sh/blob/3.2/Dockerfile.md) | [](https://github.com/testssl/testssl.sh/blob/3.2/Dockerfile.md) | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Dirk Wetter
					Dirk Wetter