Skip to content

Commit ee92df7

Browse files
authored
ci: run the tests against arm runner as well (#169)
1 parent 1dcf353 commit ee92df7

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

.github/workflows/test.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,9 @@ jobs:
3030
strategy:
3131
fail-fast: false
3232
matrix:
33+
os:
34+
- ubuntu-24.04
35+
- ubuntu-24.04-arm
3336
tool:
3437
- docker
3538
- podman
@@ -50,8 +53,8 @@ jobs:
5053
- name: "developer-lightspeed"
5154
cliArgs: "-f compose.yaml -f developer-lightspeed/compose-with-ollama.yaml"
5255

53-
name: "${{ matrix.tool }} compose - ${{ matrix.composeConfig.name }}${{ matrix.userConfig == 'true' && ' - user config' || '' }}"
54-
runs-on: ubuntu-latest
56+
name: "${{ matrix.tool }} compose - ${{ matrix.composeConfig.name }}${{ matrix.os != 'ubuntu-24.04' && format(' - {0}', matrix.os) || '' }}${{ matrix.userConfig == 'true' && ' - user config' || '' }}"
57+
runs-on: ${{ matrix.os }}
5558
env:
5659
DOCKER_COMPOSE_VERSION: v5.0.1
5760
PODMAN_IMAGE: quay.io/podman/stable:v5
@@ -101,7 +104,7 @@ jobs:
101104
102105
# Install standalone docker-compose for consistent version across docker/podman tests
103106
echo "Installing docker-compose $DOCKER_COMPOSE_VERSION..."
104-
sudo curl -fsSL "https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-linux-x86_64" \
107+
sudo curl -fsSL "https://github.com/docker/compose/releases/download/${DOCKER_COMPOSE_VERSION}/docker-compose-linux-$(uname -m)" \
105108
-o /usr/local/bin/docker-compose
106109
sudo chmod +x /usr/local/bin/docker-compose
107110
# Also install as Docker CLI plugin
@@ -111,7 +114,7 @@ jobs:
111114
- name: Setup Podman container environment
112115
id: setup-podman
113116
if: ${{ matrix.tool == 'podman' }}
114-
uses: rm3l/setup-containerized-podman@9d660ce477edb95b5ac6e27694ac43abaee18953 # v1
117+
uses: rm3l/setup-containerized-podman@7e2e9a2ddc2da87cbe754c0ed8975b7368388f56 # v2.0.0
115118
with:
116119
podman-image: ${{ env.PODMAN_IMAGE }}
117120
compose-provider: docker-compose

0 commit comments

Comments
 (0)