Archived: migrate to QualityMax GitHub Action. The examples below describe the retired integration. Start new workflows from the maintained Action's README and review the migration notes here before changing an existing workflow.
Changing only the uses repository is not sufficient. Compare the two action manifests and update your workflow:
| Archived input/output | Maintained integration |
|---|---|
api-token input |
api-key input; store the credential in GitHub Actions secrets |
comment input |
post-pr-comment input |
script-ids input |
Review test-suite and test-ids; do not assume script IDs and test IDs are interchangeable |
project-id input |
Still supported; the maintained Action also documents project-name and repository detection |
base-url, browser, fail-on-test-failure |
Same input names; check current defaults and behavior |
qmax-version input |
No corresponding input in the maintained Action |
total, passed, failed, duration, summary outputs |
total-tests, passed-tests, failed-tests, duration-seconds, summary-markdown |
Recreate test selection, permissions, and result handling from the maintained configuration reference. Validate a completed run on a test project before making the new check required. See QualityMax documentation and the gate guide for the separate GitHub App workflow.
Run QualityMax tests in your CI/CD pipeline. AI-powered test automation with quality gates.
name: Tests
on: [pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: Quality-Max/qmax-action@v1
with:
api-token: ${{ secrets.QMAX_TOKEN }}
project-id: '42'| Input | Required | Default | Description |
|---|---|---|---|
api-token |
Yes | — | QualityMax API token |
project-id |
Yes | — | Project ID |
script-ids |
No | all | Comma-separated script IDs |
base-url |
No | — | Base URL override (e.g. preview deploy URL) |
browser |
No | chromium |
Browser: chromium, firefox, webkit |
comment |
No | true |
Post results as PR comment |
fail-on-test-failure |
No | true |
Fail action on test failures |
qmax-version |
No | latest |
qmax CLI version |
| Output | Description |
|---|---|
status |
passed or failed |
total |
Total test count |
passed |
Passed count |
failed |
Failed count |
duration |
Duration in seconds |
summary |
Markdown summary |
- uses: Quality-Max/qmax-action@v1
with:
api-token: ${{ secrets.QMAX_TOKEN }}
project-id: '42'
script-ids: '101,102,103'- uses: Quality-Max/qmax-action@v1
with:
api-token: ${{ secrets.QMAX_TOKEN }}
project-id: '42'
base-url: ${{ steps.deploy.outputs.url }}- uses: Quality-Max/qmax-action@v1
with:
api-token: ${{ secrets.QMAX_TOKEN }}
project-id: '42'
fail-on-test-failure: 'false'- Get your API token from QualityMax Settings
- Add it as a repository secret:
QMAX_TOKEN - Add the action to your workflow
- Installs the
qmaxCLI - Authenticates with your API token (headless, no browser needed)
- Runs your test suite on QualityMax infrastructure
- Posts results as a PR comment
- Fails the workflow if tests fail (quality gate)
Built by QualityMax — AI-powered test automation