/ .github / workflows / transport-interop.yml
transport-interop.yml
 1  on:
 2    workflow_dispatch:
 3    pull_request:
 4      paths:
 5        - 'transport-interop/**'
 6    push:
 7      branches:
 8        - "master"
 9      paths:
10        - 'transport-interop/**'
11  
12  name: libp2p transport interop test
13  
14  jobs:
15    run-transport-interop:
16      runs-on: ['self-hosted', 'linux', 'x64', '4xlarge'] # https://github.com/pl-strflt/tf-aws-gh-runner/blob/main/runners.tf
17      steps:
18        - uses: actions/checkout@v3
19        - uses: ./.github/actions/run-transport-interop-test
20          with:
21            s3-cache-bucket: ${{ vars.S3_LIBP2P_BUILD_CACHE_BUCKET_NAME }}
22            s3-access-key-id: ${{ vars.S3_LIBP2P_BUILD_CACHE_AWS_ACCESS_KEY_ID }}
23            s3-secret-access-key: ${{ secrets.S3_LIBP2P_BUILD_CACHE_AWS_SECRET_ACCESS_KEY }}
24            worker-count: 16
25    build-without-secrets:
26      runs-on: ['self-hosted', 'linux', 'x64', '4xlarge'] # https://github.com/pl-strflt/tf-aws-gh-runner/blob/main/runners.tf
27      steps:
28        - uses: actions/checkout@v3
29        # Purposely not using secrets to replicate how forks will behave.
30        - uses: ./.github/actions/run-transport-interop-test
31          with:
32            # It's okay to not run the tests, we only care to check if the tests build without cache.
33            test-filter: '"no test matches this, skip all"'