Skip to content
This repository was archived by the owner on May 23, 2023. It is now read-only.

Commit a97f8c7

Browse files
author
luzhongyang
committed
pause django api test
1 parent 7ce9269 commit a97f8c7

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/deploy_webapi_to_aws.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -62,14 +62,14 @@ jobs:
6262
cp conf/config.ini.example conf/config.ini
6363
python3 manage.py test
6464
65-
- name: Django Api Testing
66-
env:
67-
DATABASE_URL: ${{ secrets.DATABASE_URL }}
68-
run: |
69-
mysql --host=127.0.0.1 -uroot -p'dongtai-iast' -D dongtai_webapi < /home/runner/work/DongTai-webapi/DongTai-webapi/test/init.sql
70-
pip install schemathesis
71-
python3 manage.py runserver 0.0.0.0:8000 &
72-
schemathesis run --base-url "http://localhost:8000/" -H 'Authorization: Token 67aebd78e700ad36a82a152276196b5f49fafeb0' ./swagger.json --hypothesis-suppress-health-check=data_too_large,filter_too_much,too_slow,return_value,large_base_example,not_a_test_method,function_scoped_fixture --hypothesis-verbosity verbose
65+
# - name: Django Api Testing
66+
# env:
67+
# DATABASE_URL: ${{ secrets.DATABASE_URL }}
68+
# run: |
69+
# mysql --host=127.0.0.1 -uroot -p'dongtai-iast' -D dongtai_webapi < /home/runner/work/DongTai-webapi/DongTai-webapi/test/init.sql
70+
# pip install schemathesis
71+
# python3 manage.py runserver 0.0.0.0:8000 &
72+
# schemathesis run --base-url "http://localhost:8000/" -H 'Authorization: Token 67aebd78e700ad36a82a152276196b5f49fafeb0' ./swagger.json --hypothesis-suppress-health-check=data_too_large,filter_too_much,too_slow,return_value,large_base_example,not_a_test_method,function_scoped_fixture --hypothesis-verbosity verbose
7373

7474

7575
Deploy-to-test:

0 commit comments

Comments
 (0)