Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

getdoable/run-test-action

Trigger DoableAI regression runs from GitHub Actions.

Quick Start

name: Trigger DoableAI Scheduled

on:
  workflow_dispatch:
  push:
    branches: [main]

jobs:
  trigger:
    runs-on: ubuntu-latest
    steps:
      - name: Trigger DoableAI group run
        uses: getdoable/run-test-action@v1.1.0
        with:
          api-key: ${{ secrets.DOABLEAI_API_KEY }}
          group-public-id: tg-gqxhqski
          wait-for-completion: true

Inputs

  • api-key (required): DoableAI API key created in DoableAI Settings -> API Keys.
  • group-public-id (required): Scheduled group public id (for example: tg-xxxx).
  • lookup-latest-only: true/false, default false. When true, do not trigger new run; fetch latest run result for group-public-id.
  • idempotency-key: Optional dedupe key. If omitted, action auto-generates one from GitHub context.
  • wait-for-completion: true/false, default true. When true, action polls until terminal result.
  • poll-interval-seconds: Poll interval while waiting, default 20.
  • timeout-seconds: Max wait time, default 1800.

Outputs

  • status: Action lifecycle status (accepted, completed, timeout).
  • outcome: Execution outcome (pending, passed, failed, cancelled, timeout).
  • outcome-link: URL of the DoableAI run result page.

Idempotency Behavior

  • First request with a key usually creates a new execution.
  • Repeated request with the same key returns the existing execution.

This lets CI safely retry without creating duplicate runs.

Wait For Final Result Example

- name: Trigger and wait for DoableAI result
  uses: getdoable/run-test-action@v1.1.0
  with:
    api-key: ${{ secrets.DOABLEAI_API_KEY }}
    group-public-id: tg-gqxhqski
    wait-for-completion: true
    poll-interval-seconds: 20
    timeout-seconds: 1800

When final outcome is not passed, this step fails to make CI status visible in GitHub checks.

Fetch Latest Group Run Only (No Trigger)

- name: Fetch latest DoableAI group result only
  uses: getdoable/run-test-action@v1.1.0
  with:
    api-key: ${{ secrets.DOABLEAI_API_KEY }}
    group-public-id: tg-gqxhqski
    lookup-latest-only: true
    wait-for-completion: false

This mode only reads the latest run result for the group and never creates a new execution.

Smoke Workflow In This Repo

This repository includes ./.github/workflows/e2e-smoke.yml for end-to-end verification in GitHub Actions.

Configure GitHub Actions config before running it:

  • Secret: DOABLEAI_API_KEY
  • Repository variable: DOABLEAI_GROUP_PUBLIC_ID

After each smoke run, check:

  • job result (success/failure)
  • step outputs
  • GITHUB_STEP_SUMMARY (human-readable test result)

About

trigger test group run and get report

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages