video-stream/.github/workflows/python-app.yml
Hunter Opp 8c9844da15
okay
2022-01-31 01:53:08 +05:30

37 lines
878 B
YAML

name: FailCheck
on: [push, pull_request]
jobs:
build:
runs-on: ubuntu-latest
strategy:
max-parallel: 5
matrix:
python-version: [3.10]
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