|
|
@ -32,11 +32,11 @@ jobs: |
|
|
|
- name: Install dependencies |
|
|
|
- name: Install dependencies |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
python -m pip install --upgrade pip |
|
|
|
python -m pip install --upgrade pip |
|
|
|
pip install flake8 pytest |
|
|
|
|
|
|
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi |
|
|
|
if [ -f requirements.txt ]; then pip install -r requirements.txt; fi |
|
|
|
- name: Start DEBUG |
|
|
|
- name: Start DEBUG |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
./cli.sh debug |
|
|
|
python3 task.py & |
|
|
|
|
|
|
|
gunicorn -b :7200 -k gevent -w 1 app:app |
|
|
|
- name: Test with pytest |
|
|
|
- name: Test with pytest |
|
|
|
run: | |
|
|
|
run: | |
|
|
|
pytest |
|
|
|
pytest |
|
|
|