Skip to content

Ensure generated Spec is OpenAPI 3.1 compliant - remove ability to no… #225

Ensure generated Spec is OpenAPI 3.1 compliant - remove ability to no…

Ensure generated Spec is OpenAPI 3.1 compliant - remove ability to no… #225

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.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: |
black --check tests flask_pydantic_spec
mypy flask_pydantic_spec