nim-libp2p/.github/workflows/interop.yml

55 lines
1.4 KiB
YAML
Raw Normal View History

2023-02-20 13:26:53 +00:00
name: Interoperability Testing
on:
pull_request:
push:
branches:
- unstable
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
run-multidim-interop:
name: Run multidimensional interoperability tests
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v3
with:
repository: libp2p/test-plans
submodules: true
fetch-depth: 0
- name: Build image
run: >
2023-10-05 08:54:24 +00:00
cd transport-interop/impl/nim/v1.0 &&
2023-02-20 13:26:53 +00:00
make commitSha=$GITHUB_SHA image_name=nim-libp2p-head
- name: Create ping-version.json
run: >
(cat << EOF
{
"id": "nim-libp2p-head",
"containerImageID": "nim-libp2p-head",
"transports": [
"tcp",
"ws"
],
"secureChannels": [
"noise"
],
"muxers": [
"mplex",
"yamux"
]
}
EOF
2023-10-05 08:54:24 +00:00
2023-02-20 13:26:53 +00:00
) > ${{ github.workspace }}/test_head.json
2023-10-05 08:54:24 +00:00
- uses: libp2p/test-plans/.github/actions/run-transport-interop-test@master
2023-02-20 13:26:53 +00:00
with:
test-filter: nim-libp2p-head
extra-versions: ${{ github.workspace }}/test_head.json