Skip to content

Commit

Permalink
Run integration tests against multiple moby engines/api versions
Browse files Browse the repository at this point in the history
Signed-off-by: Christopher Petito <[email protected]>
  • Loading branch information
krissetto committed Mar 15, 2024
1 parent 7a8a050 commit d843534
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 3 deletions.
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,11 +46,21 @@ jobs:
strategy:
matrix:
variant: [ "integration-dind", "integration-dind-ssl", "integration-dind-ssh" ]
engine:
- version: 25.0 # latest
api: 1.44
- version: 24.0 # latest - 1
api: 1.43
- version: 23.0 # mirantis lts
api: 1.42

steps:
- uses: actions/checkout@v4
- name: make ${{ matrix.variant }}
- name: ${{ matrix.variant }} - v${{ matrix.engine.version }}/v${{ matrix.engine.api }}
run: |
docker logout
rm -rf ~/.docker
make ${{ matrix.variant }}
env:
TEST_ENGINE_VERSION: ${{ matrix.engine.version }}
TEST_API_VERSION: ${{ matrix.engine.api }}
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
TEST_API_VERSION ?= 1.43
TEST_ENGINE_VERSION ?= 24.0
TEST_API_VERSION ?= 1.44
TEST_ENGINE_VERSION ?= 25.0

ifeq ($(OS),Windows_NT)
PLATFORM := Windows
Expand Down

0 comments on commit d843534

Please sign in to comment.