Skip to content

testground/testground-github-action

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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/testground-github-action@v1.0
        with:
          backend_addr: ${{ matrix.backend_addr }}
          backend_proto: ${{ matrix.backend_proto }}
          plan_directory: ${{ matrix.plan_directory }}
          composition_file: ${{ matrix.composition_file }}