API Test Setup for GitHub CI/CD
Keploy makes it super simple to run API tests during your CI/CD pipeline on GitHub. Here’s a step-by-step guide to help you set it up in just a few minutes!
Step 1: Get the Test Command from Keploy Dashboard
- Go to app.keploy.io
- Click on Test Suite in the sidebar
- You'll see an option to “Run test suites natively”
- Copy the command
Step 2: Set Up GitHub Actions Workflow
Add the following steps to your .github/workflows/ci.yml
file:
Install Keploy CLI
- name: Install Keploy CLI
run: |
curl --silent -L https://keploy.io/ent/install.sh | bash