video-stream/.github/workflows/python-app.yml

37 lines
878 B
YAML
Raw Normal View History

2021-09-09 03:12:04 +00:00
name: FailCheck
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
2022-01-30 20:23:08 +00:00
python-version: [3.10]
2021-09-09 03:12:04 +00:00
steps:
- uses: actions/checkout@v1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v1
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
sudo apt-get install libpq-dev
python -m pip install --upgrade pip
pip install -r requirements.txt
pip install flake8 flake8-print flake8-quotes
- name: Check for showstoppers
run: |
flake8 . --count --select=E999 --show-source --statistics
shellcheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- name: Check for install script errors
uses: ludeeus/action-shellcheck@0.1.0