API Test Setup for GitHub CI/CD
FreeTeamsScaleEnterpriseSelf-HostedDedicated
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: |
source /dev/stdin <<<"$(curl -fsSL https://keploy.io/install.sh || echo 'echo Keploy installer download failed >&2; return 1')"
Run Keploy API Tests
Paste the command copied from the dashboard here:
- name: Run Keploy Test Suite
run: |
export KEPLOY_API_KEY=${{ secrets.KEPLOY_API_KEY }}
keploy test-suite --app=03d24177-315c-4ee1-a3ac-64ed0ab38567 --base-path http://localhost:8080/books --cloud