-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Initial README with basic instructions
- Loading branch information
Showing
1 changed file
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
# TestProject Job Runner | ||
|
||
A github action to run automated testing jobs via [TestProject](https://testproject.io/) | ||
|
||
## Usage | ||
Example: | ||
```yaml | ||
on: [push] | ||
|
||
jobs: | ||
run_testproject_job: | ||
runs-on: ubuntu-latest | ||
name: Run TestProject Job | ||
steps: | ||
- name: Step to run TestProject Job | ||
uses: dbramwell/testproject-job-runner | ||
with: | ||
api-key: ${{ secrets.TESTPROJECT_API_KEY }} | ||
project-id: 'abcdefghijklmnopqrstuv' | ||
job-id: 'abcdefghijklmnopqrstuv' | ||
``` | ||
### Options | ||
| Option | Description | Required | Default | | ||
|------------------------|---------------------------------------------------------------------|----------|---------| | ||
| `api-key` | TestProject API Key with permissions to execute the TestProject job | True | None | | ||
| `project-id` | TestProject Project Id | True | None | | ||
| `job-id` | TestProject Job Id | True | None | | ||
| `execution-parameters` | String in JSON format defining [TestProject job execution parameters](https://api.testproject.io/docs/v2/#/Jobs/Jobs_RunJobAsync) | False | "{}" | | ||
| `json-report` | Set to "on" to download json report to `$GITHUB_WORKSPACE/{job-id}-report.json` | False | Off | | ||
| `junit-report` | Set to "on" to download junit report to `$GITHUB_WORKSPACE/{job-id}-report.xml` | False | Off | | ||
| `pdf-report` | Set to "on" to download pdf report to `$GITHUB_WORKSPACE/{job-id}-report.pdf` | False | Off | |