ping: use context.Afterfunc to avoid a lingering goroutine #3283
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Interoperability Testing | |
on: | |
workflow_dispatch: | |
pull_request: | |
paths: | |
- 'config/**' | |
- 'core/**' | |
- 'internal/**' | |
- 'p2p/**' | |
- 'test-plans/**' | |
push: | |
branches: | |
- "master" | |
paths: | |
- 'config/**' | |
- 'core/**' | |
- 'internal/**' | |
- 'p2p/**' | |
- 'test-plans/**' | |
jobs: | |
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-transport-interop-test@master | |
with: | |
test-filter: go-libp2p-head | |
extra-versions: ${{ github.workspace }}/test-plans/ping-version.json | |
s3-cache-bucket: libp2p-by-tf-aws-bootstrap | |
s3-access-key-id: ${{ vars.TEST_PLANS_BUILD_CACHE_KEY_ID }} | |
s3-secret-access-key: ${{ secrets.TEST_PLANS_BUILD_CACHE_KEY }} |