From 633cab5822ac5f4ef50e12ecc4ebfdf7fa55028c Mon Sep 17 00:00:00 2001 From: midoks Date: Tue, 14 Jun 2022 01:46:19 +0800 Subject: [PATCH] Update python-app.yml --- .github/workflows/python-app.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/python-app.yml b/.github/workflows/python-app.yml index 81b756d8a..792091558 100644 --- a/.github/workflows/python-app.yml +++ b/.github/workflows/python-app.yml @@ -32,11 +32,11 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - pip install flake8 pytest if [ -f requirements.txt ]; then pip install -r requirements.txt; fi - name: Start DEBUG run: | - ./cli.sh debug + python3 task.py & + gunicorn -b :7200 -k gevent -w 1 app:app - name: Test with pytest run: | pytest