Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 1.14 KB

README.md

File metadata and controls

40 lines (31 loc) · 1.14 KB

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).

testground-github-action

Submit jobs to testground and view the outcome in Github.

usage:

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 }}