mirror of
https://github.com/libp2p/go-libp2p.git
synced 2025-12-24 13:29:35 +08:00
ci: migrate to renamed interop test action (#2617)
This commit is contained in:
6
.github/workflows/interop-test.yml
vendored
6
.github/workflows/interop-test.yml
vendored
@@ -19,14 +19,14 @@ on:
|
||||
- 'test-plans/**'
|
||||
|
||||
jobs:
|
||||
run-multidim-interop:
|
||||
name: Run multidimensional interoperability tests
|
||||
run-transport-interop:
|
||||
name: Run transport interoperability tests
|
||||
runs-on: ${{ fromJSON(vars['INTEROP_TEST_RUNNER_UBUNTU'] || '"ubuntu-22.04"') }}
|
||||
steps:
|
||||
- uses: actions/checkout@v3
|
||||
- name: Build image
|
||||
run: docker build -t go-libp2p-head -f test-plans/PingDockerfile .
|
||||
- uses: libp2p/test-plans/.github/actions/run-interop-ping-test@master
|
||||
- uses: libp2p/test-plans/.github/actions/run-transport-interop-test@master
|
||||
with:
|
||||
test-filter: go-libp2p-head
|
||||
extra-versions: ${{ github.workspace }}/test-plans/ping-version.json
|
||||
|
||||
@@ -29,9 +29,9 @@ the following (from the root directory of this repository):
|
||||
|
||||
1. Build the image: `docker build -t go-libp2p-head -f test-plans/PingDockerfile .`.
|
||||
2. Build the images for all released versions in `libp2p/test-plans`: `(cd <path
|
||||
to >/libp2p/test-plans/multidim-interop/ && make)`.
|
||||
to >/libp2p/test-plans/transport-interop/ && make)`.
|
||||
3. Run the test:
|
||||
```
|
||||
GO_LIBP2P="$PWD"; (cd <path to >/libp2p/test-plans/multidim-interop/ && npm run test -- --extra-version=$GO_LIBP2P/test-plans/ping-version.json --name-filter="go-libp2p-head")
|
||||
GO_LIBP2P="$PWD"; (cd <path to >/libp2p/test-plans/transport-interop/ && npm run test -- --extra-version=$GO_LIBP2P/test-plans/ping-version.json --name-filter="go-libp2p-head")
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user