Run your API tests automatically in CI with the Checksum API Testing GitHub Action. It triggers a run of your suites in Checksum’s cloud, waits for the result, and returns pass/fail counts you can act on, so a broken API blocks the merge.
Setup
- Get your project API key from the Checksum web app (Settings → Project Settings).
- Add it to your repository as a secret named
CHECKSUM_API_KEY (Settings → Secrets and variables → Actions).
- Add the workflow below.
Store the API key as a CI secret. Never commit it to your repository.
GitHub Actions
Create .github/workflows/checksum-api-tests.yml:
By default (suite-ids: "") the Action runs every suite that has generated code, the same as Run Suite in the app. The run appears on the API Test Runs page, and failures flow to Triage as usual.
Outputs
Run specific suites
Pass a comma-separated list of suite UUIDs to run only those:
Gate the build on results
Give the step an id, then read its outputs in later steps to log the result and fail the build when tests fail:
This fails the build on either failed or errored tests. To also block on confirmed bugs, add || steps.checksum.outputs.bug-count != '0' to the condition.
Use result-url in a PR comment or job summary so reviewers can jump straight to the run report.
Next Steps