From ef6fdf9c5ad31b9105a7fef5fcc082a6499302a4 Mon Sep 17 00:00:00 2001 From: Aaron Powell Date: Mon, 15 Jun 2026 11:01:51 +1000 Subject: [PATCH] Skip Docker steps on Windows runners in CI The 'Verify Docker is running' and 'Dump docker info' steps are meaningless on Windows runners since Linux containers are not supported there. Gate both steps with runner.os == 'Linux' so they are skipped on Windows without affecting the Linux flow. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .github/workflows/tests.yaml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 86ae49fca..42b6f0c77 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -97,6 +97,7 @@ jobs: docker-registry: ${{ secrets.CUSTOM_CONTAINER_REGISTRY }} - name: Verify Docker is running + if: runner.os == 'Linux' run: docker info - name: Build test project @@ -126,7 +127,7 @@ jobs: CUSTOM_CONTAINER_REGISTRY: ${{ secrets.CUSTOM_CONTAINER_REGISTRY }} - name: Dump docker info - if: always() + if: always() && runner.os == 'Linux' run: | docker container ls --all docker container ls --all --format json