Table of Contents
Pre-requisites
Generate your API Key
Go to the API Keys section and generate a key. You will see something like this once done.
GitHub Actions
Step 1. Go to “Settings” > “Integrations” in your Autonoma dashboard.

Step 2. Select the tests or folders that you want to run in your CI, copy the generated action job!

Step 3. Add to GitHub Workflow
Copy the action job configuration from the Integrations page and paste it into your GitHub Actions workflow file (.github/workflows/deploy.yml):
Step 4. Set up GitHub Secrets
- In your GitHub repository, go to Settings → Secrets and variables → Actions
- Add your API credentials as secrets:
AUTONOMA_CLIENT_ID: Your client ID from the API Keys sectionAUTONOMA_CLIENT_SECRET: Your client secret from the API Keys section
deploy.yml
cURL Integration
Step 1. Build the cURL command
<folder-id>or<test-id>with the actual folder/test ID.<client-id>and<client-secret>with appropriate credentials found in theAPI Keyssection.


Step 2. Add it to your deployment pipeline
Bitbucket Pipelines
Bitbucket Pipelines
Edit your 👉 Set
bitbucket-pipelines.yml:bitbucket-pipelines.yml
FOLDER_ID, CLIENT_ID, and CLIENT_SECRET in Bitbucket Repository Variables under Repository settings → Pipelines → Repository variables.Gitlab CI/CD
Gitlab CI/CD
Modify your 👉 Set
.gitlab-ci.yml file:.gitlab-ci.yml
FOLDER_ID, CLIENT_ID, and CLIENT_SECRET as environment variables in GitLab → Settings → CI/CD → Variables.Jenkins Pipeline
Jenkins Pipeline
For a Jenkinsfile, use:👉 Store
Jenkinsfile
FOLDER_ID, CLIENT_ID, and CLIENT_SECRET in Jenkins Credentials under Manage Jenkins → Manage Credentials.Github Actions
Github Actions
Add the following step in your GitHub Actions workflow (👉 Store
.github/workflows/deploy.yml):deploy.yml
FOLDER_ID, CLIENT_ID, and CLIENT_SECRET as GitHub Secrets under Settings → Secrets and variables → Actions.Best Practices
- ✅ Use environment variables/secrets to avoid exposing credentials.
- ✅ Enable retry logic (
--retry 3 --retry-connrefused) for robustness. - ✅
Use || trueto prevent failures from stopping the pipeline.