From a26aa1af9d21b043ff086b8ad9ac49aae4d07b86 Mon Sep 17 00:00:00 2001 From: Diego Date: Wed, 25 Sep 2024 19:52:11 +0200 Subject: [PATCH] fix simplify yml --- .github/workflows/interop.yml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/interop.yml b/.github/workflows/interop.yml index 9c72df54b8..b4f9a08f43 100644 --- a/.github/workflows/interop.yml +++ b/.github/workflows/interop.yml @@ -20,8 +20,10 @@ jobs: strategy: matrix: test-type: - - transport-interop - - hole-punching-interop + - folder: transport-interop + action: run-transport-interop-test + - folder: hole-punching-interop + action: run-interop-hole-punch-test steps: - name: Checkout Code @@ -32,10 +34,10 @@ jobs: - name: Build Docker Image run: | - docker buildx build --load -t nim-libp2p-head -f tests/${{ matrix.test-type }}/Dockerfile . + docker buildx build --load -t nim-libp2p-head -f tests/${{ matrix.test-type.folder }}/Dockerfile . - name: Run Tests - uses: libp2p/test-plans/.github/actions/run-${{ matrix.test-type == 'transport-interop' && 'transport-interop-test' || 'interop-hole-punch-test' }}@master + uses: libp2p/test-plans/.github/actions/${{ matrix.test-type.action }}@master with: test-filter: nim-libp2p-head extra-versions: ${{ github.workspace }}/tests/${{ matrix.test-type }}/version.json