A github action to run automated testing jobs via TestProject
Example:
on: [push]
jobs:
run_testproject_job:
runs-on: ubuntu-latest
name: Run TestProject Job
steps:
- name: Step to run TestProject Job
uses: dbramwell/[email protected]
with:
api-key: ${{ secrets.TESTPROJECT_API_KEY }}
project-id: 'abcdefghijklmnopqrstuv'
job-id: 'abcdefghijklmnopqrstuv'
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 | 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 |