mirror of https://github.com/midoks/mdserver-web
parent
63ac52d9c9
commit
b2a34d92f5
@ -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 & |
Loading…
Reference in new issue