Create python3.6.8-app.yml

This commit is contained in:
midoks 2022-06-14 10:31:13 +08:00
parent 63ac52d9c9
commit b2a34d92f5
1 changed files with 36 additions and 0 deletions

36
.github/workflows/python3.6.8-app.yml vendored Normal file
View File

@ -0,0 +1,36 @@
# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: MW APP
on:
push:
branches: [ "master" ]
pull_request:
branches: [ "master" ]
permissions:
contents: read
jobs:
build:
strategy:
matrix:
os: [ubuntu-latest]
runs-on: ${{ matrix.os }}
#runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Set up Python 3.6.8
uses: actions/setup-python@v3
with:
python-version: "3.6.8"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
if [ -f requirements.txt ]; then pip3 install -r requirements.txt; fi
- name: Start DEBUG
run: |
gunicorn -c setting.py app:app
python3 task.py &