kubo/.github/workflows/testground-on-push.yml
Cory Schwartz 84291d172a
add testground plans to bitswap on CI
- Add a basic testground plan for bitswap
   - Showcases how to emit regressions stats from a testplan
- Add CI plumbing to run testplans on push
As a result of this PR, also:
- Created the ipfs/go-ipfs-regressions repo, which defines stats structures for the output of testplans and the input to regression analysis and tests
2021-09-29 13:22:33 -07:00

34 lines
1.1 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
uses: coryschwartz/testground-github-action@v1.1
with:
backend_addr: ${{ matrix.backend_addr }}
backend_proto: ${{ matrix.backend_proto }}
plan_directory: ${{ matrix.plan_directory }}
composition_file: ${{ matrix.composition_file }}