Looking for AI-powered testing? The GitHub App provides automatic test creation and PR reviews. This page covers the GitHub Action for API-driven testing.
Setup
1
Configure Secrets
Add secrets to your GitHub repository (Settings → Secrets and variables → Actions):
QATECH_API_TOKEN- Your QA.tech API tokenQATECH_PROJECT_ID- Your QA.tech project ID
2
Create Workflow
Create
.github/workflows/qatech.yml:Implementation Patterns
Run on Pull Requests
Test Preview Deployments
Scheduled Testing
Use Action Outputs
Action Reference
Inputs
| Input | Description | Required | Default |
|---|---|---|---|
project_id | Your QA.tech project ID | Yes | - |
api_token | QA.tech API token | Yes | - |
test_plan_short_id | Test plan short ID to run | No | All tests |
blocking | Wait for test results before completing | No | false |
applications_config | JSON with application environment overrides | No | - |
api_url | Custom API URL | No | https://app.qa.tech |
Outputs
| Output | Description |
|---|---|
run_created | Whether the test run was created successfully |
run_short_id | The short ID of the run |
run_url | The URL of the run |
run_status | Final status (COMPLETED, ERROR, CANCELLED) - only when blocking: true |
run_result | Test result (PASSED, FAILED, SKIPPED) - only when blocking: true |
Direct API Alternative
If you prefer curl over the Action, use the Start Run API to trigger runs and the Run Status API for polling in non-blocking workflows.Related Documentation
- CI/CD Integration - Overview of integration modes
- GitHub App - AI-powered automatic PR reviews
- API Reference - Complete API documentation
- Notifications - Slack notification configuration