Skip to content

Commit

Permalink
fix simplify yml
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomrsantos committed Sep 25, 2024
1 parent 0d2afe0 commit a26aa1a
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions .github/workflows/interop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit a26aa1a

Please sign in to comment.