kubo/.github/workflows/testground-on-push.yml
Piotr Galar 33423625c7
fix(ci): testground workflow hanging indefinitely (#8741)
* ci: set timeout on testground job
* ci: use testground action which exits early on scheduling failures

Note: this will be continued in https://github.com/ipfs/go-ipfs/issues/8731
2022-02-18 18:25:46 +01:00

36 lines
1.3 KiB
YAML

---
name: Testground PR Checker
on: [push]
jobs:
testground:
runs-on: ubuntu-latest
name: ${{ matrix.composition_file }}
strategy:
matrix:
include:
- backend_addr: ci.testground.ipfs.team
backend_proto: https
plan_directory: testplans/bitswap
composition_file: testplans/bitswap/_compositions/small-k8s.toml
- backend_addr: ci.testground.ipfs.team
backend_proto: https
plan_directory: testplans/bitswap
composition_file: testplans/bitswap/_compositions/medium-k8s.toml
- backend_addr: ci.testground.ipfs.team
backend_proto: https
plan_directory: testplans/bitswap
composition_file: testplans/bitswap/_compositions/large-k8s.toml
steps:
- uses: actions/checkout@v2
- name: testground run
# restore the mainline once https://github.com/coryschwartz/testground-github-action/pull/2 is released
uses: galargh/testground-github-action@6bdc2d4f12280a3e0ec654fd75fe170d4b7931df
timeout-minutes: 5
with:
backend_addr: ${{ matrix.backend_addr }}
backend_proto: ${{ matrix.backend_proto }}
plan_directory: ${{ matrix.plan_directory }}
composition_file: ${{ matrix.composition_file }}