For the complete documentation index, see llms.txt. This page is also available as Markdown.

GitHub

Image

Integrate with GitHub to streamline testing into your CI/CD pipeline, providing real-time feedback within your repository. Run tests and suites on BugBug Cloud to ensure that only high-quality, thoroughly tested code is deployed to production environments, reducing the risk of introducing regressions or bugs.

Currently, it is possible to integrate in two ways:

  1. Using official GitHub Action (recommended)

Official GitHub Action

GitHub Actions allows developers to create automated workflows directly within their GitHub repositories. Integrating with BugBug Cloud Runner lets them seamlessly incorporate testing into your CI/CD pipeline to receive instant feedback on test results and quickly identify issues.

To add BugBug action to your workflow:

  1. Go to the "Integrations" page

  2. Find GitHub on the integrations list

  3. Click on the "Manage" button

  4. Continue by clicking on the "Open Github Action" button

  5. Follow the instructions on GitHub Marketplace to add BugBug Cloud Runner to your .yml files

Find your API token by following the instructions provided here.

Discover where to find your suite ID by referring to the information available on this page.

Use CLI in GitHub Actions

You can also use the BugBug CLI in a workflow.

Store the API token as a GitHub Actions secret. Do not commit it to the repository.

Use Public API or incoming webhooks

Use the Public API if your workflow needs to list tests, start runs, stop runs, check statuses, or download reports programmatically.

Use incoming webhooks if GitHub only needs to trigger a test or suite with a single POST request.

Last updated

Was this helpful?