NOTE: This repository was forked from https://github.com/coryschwartz/testground-github-action to continue its' active development (initially to include the following fix: coryschwartz/testground-github-action#2).
Submit jobs to testground and view the outcome in Github.
As a code checker for PRs:
---
name: Testground PR Checker
on: [push]
jobs:
testground:
runs-on: ubuntu-latest
name: ${{ matrix.composition_file }}
strategy:
matrix:
include:
- backend_addr: <testground_daemon>
backend_proto: <http/https>
plan_directory: </path/to/testplan/directory>
composition_file: </path/to/composition.toml
steps:
- uses: actions/checkout@v2
- name: ${{ matrix.composition_file }}
id:
uses: coryschwartz/[email protected]
with:
backend_addr: ${{ matrix.backend_addr }}
backend_proto: ${{ matrix.backend_proto }}
plan_directory: ${{ matrix.plan_directory }}
composition_file: ${{ matrix.composition_file }}