Skip to content

dbramwell/testproject-job-runner

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

TestProject Job Runner

A github action to run automated testing jobs via TestProject

Usage

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'

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