Skip to content

Merge pull request #16 from verkada/jackkeane/fix-query-parsing #90

Merge pull request #16 from verkada/jackkeane/fix-query-parsing

Merge pull request #16 from verkada/jackkeane/fix-query-parsing #90

name: Testing + Static Analysis
on:
pull_request:
branches:
- master
- dev
push:
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 3
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
os: [ubuntu-latest]
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: |
python -m pip install --upgrade pip
pip install -r requirements/development.txt
- name: Lint with flake8
run: |
make style
- name: Test with pytest
run: |
make test
- name: Check formatting
run: |
pip install -r requirements/development.txt
black --check tests flask_pydantic_spec
mypy flask_pydantic_spec