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:Documentation Index
Fetch the complete documentation index at: https://bruno-a6972042-mintlify-testing-jsonbody-jsonschema-1777266.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Prerequisites
- Git Installed.
- GitHub repository with Bruno collection.
Automate API Testing with GitHub Actions
- Ensure your Bruno collections are properly organized in your repository:
- In your repository, create the following directory structure:
- Create a new file
.github/workflows/api-tests.ymlsample script:
- Commit and push your workflow file:
-
Monitor the workflow:
- Go to your GitHub repository
- Click on the “Actions” tab
- You should see your workflow running
-
View results:
- Once completed, download the test results from the artifacts section
- Open
results.htmlin your browser for detailed reports