The QA workflow step
Run a QA plan on this job's build from a GitHub Actions step, and fail the job unless every system passed
The qa-action step runs a plan on the build your job just made, and fails the step unless every system passed. It runs only on a Pod CI runner.
jobs:
qa:
runs-on: pod-2
steps:
- uses: actions/checkout@v4
- run: pnpm install && pnpm build:appimage
- uses: Mapier-Labs/pod-ci-qa/packages/qa-action@main
with:
plan: .pod/qa/billing.yaml
systems: linux
builds: |
linux=file:dist/app.AppImageInputs
| Input | Required | What it is |
|---|---|---|
plan | Yes | The plan file, such as .pod/qa/billing.yaml |
builds | Yes | One build per line, per system: SYSTEM=web:URL, SYSTEM=file:PATH (uploaded from this job), or SYSTEM=download:URL#SHA256 (fetched by the QA sandbox itself and checked against its SHA-256) |
systems | No | The systems to run on, separated by spaces or commas. The plan's own list when empty |
wait | No | true (the default) waits for the result and fails the step unless it passed. false starts the run and goes on |
timeout-minutes | No | How long to wait for the result. 60 by default |
Outputs
| Output | What it is |
|---|---|
qa-run | The QA run's id |
conclusion | passed, failed, unstable, could_not_judge, broken or cancelled |
result-file | The run as JSON, a row per step, for a coding agent to read |
A download is fetched by the sandbox that tests it, never by Pod CI, so the address must be reachable from the internet.
Without a workflow
Start a run from the API with start a QA run, or from your terminal:
mpod ci qa start --plan .pod/qa/billing.yaml --plan-path .pod/qa/billing.yaml \
--repository acme/app --build system=linux,kind=web,url=https://staging.example.comA run started this way is yours, and is trusted unless you pass --untrusted.