From 1d11970fa32ec1ce094b78175cefdeb7922f1579 Mon Sep 17 00:00:00 2001 From: Cees-Jan Kiewiet Date: Thu, 6 Feb 2025 08:01:28 +0100 Subject: [PATCH] Use action to handle testing --- .github/workflows/main.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 01af003..8088165 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -104,7 +104,10 @@ jobs: path: /tmp/docker-image - run: docker load --input /tmp/docker-image/docker_image-${{ env.PLATFORM_PAIR }}.tar - run: docker image ls -a - - run: ./tests.sh "${DOCKER_IMAGE}:${{ env.PLATFORM_PAIR }}" + - uses: WyriHaximus/github-action-testinfra@main + with: + image: ${{ env.DOCKER_IMAGE }}:${{ env.PLATFORM_PAIR }} + flags: --platform="${{ matrix.platform }}" push-image: if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref == 'refs/heads/main' name: Push