Skip to content

πŸ‘πŸ² ↝ [SSG-1 SSG-2 SSG-19]: Content for Chapter-1 & Chapter-2 #11

πŸ‘πŸ² ↝ [SSG-1 SSG-2 SSG-19]: Content for Chapter-1 & Chapter-2

πŸ‘πŸ² ↝ [SSG-1 SSG-2 SSG-19]: Content for Chapter-1 & Chapter-2 #11

Workflow file for this run

name: Flask App CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Set up Python
uses: actions/setup-python@v2
with:
python-version: '3.x'
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install -r requirements.txt
- name: Test with pytest
run: pytest
- name: Lint with flake8
run: |
pip install flake8
flake8 . --count --select=E9,F63,F7,F82 --show-source --statistics
- name: Run Flask app
run: python app.py