Skip to content

Commit df48e5d

Browse files
author
Cory Schwartz
authored
Create README.md
1 parent 7460ba4 commit df48e5d

File tree

1 file changed

+38
-0
lines changed

1 file changed

+38
-0
lines changed

README.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# testground-github-action
2+
3+
Submit jobs to [testground](https://testground.ai) and view the outcome in Github.
4+
5+
6+
## usage:
7+
8+
As a code checker for PRs:
9+
10+
```
11+
---
12+
name: Testground PR Checker
13+
14+
on: [push]
15+
16+
jobs:
17+
testground:
18+
runs-on: ubuntu-latest
19+
name: ${{ matrix.composition_file }}
20+
strategy:
21+
matrix:
22+
include:
23+
- backend_addr: <testground_daemon>
24+
backend_proto: <http/https>
25+
plan_directory: </path/to/testplan/directory>
26+
composition_file: </path/to/composition.toml
27+
steps:
28+
- uses: actions/checkout@v2
29+
- name: ${{ matrix.composition_file }}
30+
id:
31+
uses: coryschwartz/[email protected]
32+
with:
33+
backend_addr: ${{ matrix.backend_addr }}
34+
backend_proto: ${{ matrix.backend_proto }}
35+
plan_directory: ${{ matrix.plan_directory }}
36+
composition_file: ${{ matrix.composition_file }}
37+
38+
```

0 commit comments

Comments
 (0)