-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: add testground ping interop workflow (#1625)
- Loading branch information
1 parent
3b3605c
commit 4ebef86
Showing
1 changed file
with
16 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
on: [push, pull_request] | ||
name: Interoperability Testing | ||
|
||
jobs: | ||
run-ping-interop-cross-version: | ||
uses: "libp2p/test-plans/.github/workflows/run-composition.yml@master" | ||
with: | ||
composition_file: "ping/_compositions/go-cross-versions.toml" | ||
# NOTE: during a pull request run, github creates a merge commit referenced in `github.sha` | ||
# that merge commit is not a regular commit. You won't find it with a regular `git checkout SHA` and | ||
# tools like `go get repo@SHA` won't find it. | ||
# | ||
# As a workaround, we generate a path to the actual pull request's commit, it looks like: | ||
# `github.com/external-org/go-libp2p@latest-commit-on-their-branch` | ||
custom_git_target: github.com/${{ github.event.pull_request.head.repo.full_name || github.event.repository.full_name }} | ||
custom_git_reference: ${{ github.event.pull_request.head.sha || github.sha }} |