2023-01-10 14:26:27 -08:00
|
|
|
on:
|
|
|
|
workflow_dispatch:
|
|
|
|
pull_request:
|
2023-08-23 07:31:11 -07:00
|
|
|
paths:
|
2023-10-05 14:12:39 +11:00
|
|
|
- 'transport-interop/**'
|
2023-01-17 16:44:22 -08:00
|
|
|
push:
|
|
|
|
branches:
|
|
|
|
- "master"
|
2023-08-21 23:52:59 -07:00
|
|
|
paths:
|
2023-10-05 14:12:39 +11:00
|
|
|
- 'transport-interop/**'
|
2023-01-10 14:26:27 -08:00
|
|
|
|
2023-10-05 14:12:39 +11:00
|
|
|
name: libp2p transport interop test
|
2023-01-10 14:26:27 -08:00
|
|
|
|
|
|
|
jobs:
|
2023-10-05 14:12:39 +11:00
|
|
|
run-transport-interop:
|
2023-07-08 00:41:38 +02:00
|
|
|
runs-on: ['self-hosted', 'linux', 'x64', '4xlarge'] # https://github.com/pl-strflt/tf-aws-gh-runner/blob/main/runners.tf
|
2023-02-02 10:17:22 +11:00
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2023-10-05 14:12:39 +11:00
|
|
|
- uses: ./.github/actions/run-transport-interop-test
|
2023-02-10 17:00:53 -08:00
|
|
|
with:
|
|
|
|
s3-cache-bucket: libp2p-by-tf-aws-bootstrap
|
|
|
|
s3-access-key-id: ${{ vars.S3_AWS_ACCESS_KEY_ID }}
|
|
|
|
s3-secret-access-key: ${{ secrets.S3_AWS_SECRET_ACCESS_KEY }}
|
2023-07-08 00:41:38 +02:00
|
|
|
worker-count: 16
|
2023-06-20 10:55:43 -07:00
|
|
|
build-without-secrets:
|
2023-02-10 17:00:53 -08:00
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
2023-06-20 10:55:43 -07:00
|
|
|
# Purposely not using secrets to replicate how forks will behave.
|
2023-10-05 14:12:39 +11:00
|
|
|
- uses: ./.github/actions/run-transport-interop-test
|
2023-02-10 17:00:53 -08:00
|
|
|
with:
|
|
|
|
# It's okay to not run the tests, we only care to check if the tests build without cache.
|
|
|
|
test-filter: '"no test matches this, skip all"'
|