41 lines
1.3 KiB
YAML
41 lines
1.3 KiB
YAML
name: Interoperability Testing
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- master
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: true
|
|
|
|
jobs:
|
|
run-transport-interop:
|
|
name: Run transport interoperability tests
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: docker/setup-buildx-action@v3
|
|
- name: Build image
|
|
run: docker buildx build --load -t nim-libp2p-head -f tests/transport-interop/Dockerfile .
|
|
- name: Run tests
|
|
uses: libp2p/test-plans/.github/actions/run-transport-interop-test@master
|
|
with:
|
|
test-filter: nim-libp2p-head
|
|
extra-versions: ${{ github.workspace }}/tests/transport-interop/version.json
|
|
|
|
run-hole-punching-interop:
|
|
name: Run hole-punching interoperability tests
|
|
runs-on: ubuntu-22.04
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- uses: docker/setup-buildx-action@v3
|
|
- name: Build image
|
|
run: docker buildx build --load -t nim-libp2p-head -f tests/hole-punching-interop/Dockerfile .
|
|
- name: Run tests
|
|
uses: libp2p/test-plans/.github/actions/run-interop-hole-punch-test@master
|
|
with:
|
|
test-filter: nim-libp2p-head
|
|
extra-versions: ${{ github.workspace }}/tests/hole-punching-interop/version.json
|