From 33443b638fc8f6cf47b83f37519a9032eaaa0eba 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 | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 2640d7f..8dd81c6 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -108,7 +108,9 @@ 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@initial-set-up + with: + image: ${{ env.DOCKER_IMAGE }}:${{ env.PLATFORM_PAIR }}" push-image: if: (github.event_name == 'push' || github.event_name == 'schedule') && github.ref == 'refs/heads/main' name: Push