mirror of
https://github.com/status-im/libp2p-test-plans.git
synced 2025-01-22 12:50:26 +00:00
d872355bc0
* .github/workflows/run-composition.yml: retry the build command * .github/workflows/run-composition.yml: reduce run timeout for now * .github/workflows/*: run on push and PR * .github/actions: check testground health * ping/_composition/*: reorder lib versions * ping/: update with go-libp2p v0.22 * chore: gofmt * .github/workflows: allow check test-plans during PR and push * .github/workflows/*: introduce ping-interop-latest * .github/workflow: tweak retry + timeout * .github/actions/setup-testground: retry install * ping/rust: update with v0.47.0 release
45 lines
2.1 KiB
YAML
45 lines
2.1 KiB
YAML
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
testground_endpoint:
|
|
type: string
|
|
required: false
|
|
description: testground endpoint
|
|
custom_git_reference:
|
|
description: the git commit or branch we're going to use for the custom target
|
|
required: false
|
|
type: string
|
|
custom_git_target:
|
|
description: the custom git fork url we're going to use for the custom target (github.com/some-fork/rust-libp2p)
|
|
required: false
|
|
type: string
|
|
custom_interop_target:
|
|
description: in the case of cross-implementation testing, the implementation target (go | rust | ...)
|
|
required: false
|
|
type: string
|
|
push:
|
|
pull_request:
|
|
|
|
name: libp2p ping - go and rust test (all) with testground.
|
|
|
|
jobs:
|
|
run-ping-latest:
|
|
uses: "./.github/workflows/run-composition.yml"
|
|
with:
|
|
composition_file: "ping/_compositions/go-rust-interop-latest.toml"
|
|
custom_git_target: ${{ github.event.inputs.custom_git_target }} # nothing or "some-fork/go-libp2p"
|
|
custom_git_reference: ${{ github.event.inputs.custom_git_reference }} # a git reference
|
|
custom_interop_target: ${{ github.event.inputs.custom_interop_target }} # go | rust
|
|
testground_endpoint: ${{ github.event.inputs.testground_endpoint }}
|
|
test_repository: ${{ (github.event.inputs && '') || github.repository }}
|
|
test_ref: ${{ (github.event.inputs && '') || github.event.pull_request.head.sha || github.sha }}
|
|
run-ping-all:
|
|
uses: "./.github/workflows/run-composition.yml"
|
|
with:
|
|
composition_file: "ping/_compositions/go-rust-interop.toml"
|
|
custom_git_target: ${{ github.event.inputs.custom_git_target }} # nothing or "some-fork/go-libp2p"
|
|
custom_git_reference: ${{ github.event.inputs.custom_git_reference }} # a git reference
|
|
custom_interop_target: ${{ github.event.inputs.custom_interop_target }} # go | rust
|
|
testground_endpoint: ${{ github.event.inputs.testground_endpoint }}
|
|
test_repository: ${{ (github.event.inputs && '') || github.repository }}
|
|
test_ref: ${{ (github.event.inputs && '') || github.event.pull_request.head.sha || github.sha }} |