Skip to content

Update build.yml

Update build.yml #23

Workflow file for this run

name: Python Tests
on: [push, pull_request]
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip
# pip install -r requirements.txt
- name: Run tests
run: python -m unittest discover
- name: Run linters (optional)
run: |
pip install pylint
# pylint pca_pwa/app.py
- name: Run Flask application (optional)
run: |
pip install gunicorn
# gunicorn -w 4 -b 0.0.0.0:5000 pca_pwa:app