mirror of
https://github.com/libp2p/go-libp2p.git
synced 2025-12-24 13:29:35 +08:00
* Test interop on changes * Add pull request event * Nits * Rm un-needed default * Use build tag * Point to master for interop-test * Point to master for interop-test * Go mod tidy
37 lines
961 B
YAML
37 lines
961 B
YAML
name: Interoperability Testing
|
|
on:
|
|
pull_request:
|
|
push:
|
|
branches:
|
|
- "master"
|
|
|
|
jobs:
|
|
build-ping-container:
|
|
name: Build Ping interop container
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
submodules: recursive
|
|
- name: Build image
|
|
working-directory: ./test-plans
|
|
run: make
|
|
- name: Upload ping versions info
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: ping-versions
|
|
path: ./test-plans/ping-versions.json
|
|
- name: Upload image tar
|
|
uses: actions/upload-artifact@v3
|
|
with:
|
|
name: ping-image
|
|
path: ./test-plans/ping-image.tar
|
|
run-multidim-interop:
|
|
needs: build-ping-container
|
|
uses: "libp2p/test-plans/.github/workflows/run-testplans.yml@master"
|
|
with:
|
|
dir: "multidim-interop"
|
|
extra-versions: ping-versions
|
|
image-tar: ping-image
|
|
test-filter: "go-libp2p-head"
|