-
Notifications
You must be signed in to change notification settings - Fork 0
42 lines (34 loc) · 1.05 KB
/
keploy.yml
File metadata and controls
42 lines (34 loc) · 1.05 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
name: Keploy API Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
run-keploy-tests:
runs-on: ubuntu-latest
services:
mongo:
image: mongo:4.4
options: >-
--health-cmd="mongo --eval 'db.runCommand({ ping:1 })'"
--health-interval=10s --health-timeout=5s --health-retries=5
--name mongo
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Set up Python
uses: actions/setup-python@v4
with:
python-version: '3.12'
- name: Install Python dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Install Keploy CLI
run: |
curl --silent -L https://keploy.io/ent/install.sh | bash
- 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