Skip to main content
GitHub Actions is a powerful continuous integration and continuous delivery (CI/CD) platform that enables you to automate your software development workflows directly from your GitHub repository. It provides seamless integration with GitHub’s ecosystem, making it an ideal choice for teams looking to automate their API testing workflows. Bruno CLI integrates seamlessly with GitHub Actions to automate API testing workflows. Explore our GitHub Actions collection to see practical examples and test GitHub Actions CI/CD integration:

Prerequisites

  • Git Installed.
  • GitHub repository with Bruno collection.

Automate API Testing with GitHub Actions

  1. Ensure your Bruno collections are properly organized in your repository:
  1. In your repository, create the following directory structure:
  1. Create a new file .github/workflows/api-tests.yml sample script:
  1. Commit and push your workflow file:
  1. Monitor the workflow:
    • Go to your GitHub repository
    • Click on the “Actions” tab
    • You should see your workflow running
  2. View results:
    • Once completed, download the test results from the artifacts section
    • Open results.html in your browser for detailed reports

Learn More

For more advanced GitHub Actions features and configurations, visit the GitHub Actions documentation.