Skip to content

Фикс pydantic алиасов на python 3.11 #620

Фикс pydantic алиасов на python 3.11

Фикс pydantic алиасов на python 3.11 #620

Workflow file for this run

name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
max-parallel: 6
matrix:
os:
- ubuntu-latest
- macos-latest
- windows-latest
python-version:
- 3.7
- 3.8
- 3.9
steps:
- uses: actions/checkout@master
- name: Set up Python ${{ matrix.python-version }} on ${{ matrix.os }}
uses: actions/setup-python@v2
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install poetry
poetry install
- name: Setup flake8 annotations
uses: rbialon/flake8-annotations@v1
- name: Run flake8
run: |
poetry run flake8 vkwave tests --count --exit-zero --statistics --show-source
- name: Run Mypy
run: |
poetry run mypy vkwave
- name: Run black
if: always()
run: |
poetry run black vkwave tests
- name: Run Isort
if: always()
run: |
poetry run isort vkwave tests
- name: Run tests
if: always()
run: |
poetry run pytest