You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .github/workflows/build_backend.yml
+8-3Lines changed: 8 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -20,19 +20,24 @@ jobs:
20
20
#python3 -m unittest test/cnn_test.py 2>&1 | tee test-reports/test_report.txt
21
21
echo "test complete"
22
22
- run: |
23
-
export PYTHONPATH=./coderbot:./stub:./test
23
+
export PYTHONPATH=./stub:./coderbot:./test
24
24
python3 coderbot/main.py > coderbot.log &
25
25
sleep 30
26
26
apt-get install -y python3-venv
27
27
mkdir -p schemathesis
28
28
python3 -m venv schemathesis
29
29
. schemathesis/bin/activate
30
30
pip install schemathesis
31
-
st run --endpoint '^(?!(\/api\/v1\/video\/stream|\/api\/v1\/control\/move|\/api\/v1\/video\/rec|\/api\/v1\/video\/stop)$).*$' --hypothesis-max-examples=10 --request-timeout=20 http://localhost:5000/api/v1/openapi.json
31
+
st run --endpoint 'activities' --hypothesis-max-examples=10 --request-timeout=20 http://localhost:5000/api/v1/openapi.json
32
+
st run --endpoint 'media' --hypothesis-max-examples=10 --request-timeout=20 http://localhost:5000/api/v1/openapi.json
33
+
st run --endpoint 'control/speak' --hypothesis-max-examples=10 --request-timeout=20 http://localhost:5000/api/v1/openapi.json
34
+
st run --endpoint 'control/stop' --hypothesis-max-examples=10 --request-timeout=20 http://localhost:5000/api/v1/openapi.json
35
+
st run --endpoint 'music' --hypothesis-max-examples=10 --request-timeout=20 http://localhost:5000/api/v1/openapi.json
36
+
st run --endpoint 'programs' --hypothesis-max-examples=10 --request-timeout=20 http://localhost:5000/api/v1/openapi.json
0 commit comments