Skip to content

Commit

Permalink
Simplify main pipeline for testing
Browse files Browse the repository at this point in the history
Signed-off-by: Neil Twigg <[email protected]>
  • Loading branch information
neilalexander committed Sep 11, 2024
1 parent 2b45efd commit cf64aaf
Showing 1 changed file with 24 additions and 60 deletions.
84 changes: 24 additions & 60 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,80 +2,44 @@ name: Docker build testing
on: [push, pull_request]

jobs:
linux-2_9:
linux:
name: Linux (${{ matrix.version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
version:
- 2.9.x
- 2.10.x
- 2.11.x
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Build images
run: |
cd ./2.9.x/tests && ./build-images.sh
- name: Test images
run: |
cd ./2.9.x/tests && ./run-images.sh
linux-2_10:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Build images
run: |
cd ./2.10.x/tests && ./build-images.sh
- name: Test images
run: |
cd ./2.10.x/tests && ./run-images.sh
linux-2_11:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Build images
run: |
cd ./2.11.x/tests && ./build-images.sh
- name: Test images
- name: Build ${{ matrix.version }} images
run: |
cd ./2.11.x/tests && ./run-images.sh
windows-2019-2_9:
runs-on: windows-2019
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Build images
shell: powershell
run: |
cd ./2.9.x/tests; ./build-images-2019.ps1
- name: Test images
shell: powershell
run: |
cd ./2.9.x/tests; ./run-images-2019.ps1
windows-2019-2_10:
runs-on: windows-2019
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Build images
shell: powershell
run: |
cd ./2.10.x/tests; ./build-images-2019.ps1
- name: Test images
shell: powershell
cd ./${{ matrix.version }}/tests && ./build-images.sh
- name: Test ${{ matrix.version }} images
run: |
cd ./2.10.x/tests; ./run-images-2019.ps1
cd ./${{ matrix.version }}/tests && ./run-images.sh
windows-2019-2_11:
windows:
name: Windows Server 2019 (${{ matrix.version }})
runs-on: windows-2019
strategy:
fail-fast: false
matrix:
version:
- 2.9.x
- 2.10.x
- 2.11.x
steps:
- name: Checkout code
uses: actions/checkout@v1
- name: Build images
shell: powershell
run: |
cd ./2.11.x/tests; ./build-images-2019.ps1
cd ./${{ matrix.version }}/tests; ./build-images-2019.ps1
- name: Test images
shell: powershell
run: |
cd ./2.11.x/tests; ./run-images-2019.ps1
cd ./${{ matrix.version }}/tests; ./run-images-2019.ps1

0 comments on commit cf64aaf

Please sign in to comment.