Добавлены миграции #204
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push, pull_request] | |
jobs: | |
flake8: | |
runs-on: ubuntu-latest | |
name: flake8 | |
steps: | |
- name: Установка Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Установка Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
poetry-version: 1.7.0 | |
- name: Извлечение репозитория | |
uses: actions/checkout@v4 | |
- name: Установка зависимостей | |
run: | | |
poetry install | |
- name: flake8 | |
run: | | |
poetry run flake8 | |
mypy: | |
runs-on: ubuntu-latest | |
name: mypy | |
steps: | |
- name: Установка Python | |
uses: actions/setup-python@v4 | |
with: | |
python-version: 3.11 | |
- name: Установка Poetry | |
uses: snok/install-poetry@v1 | |
with: | |
poetry-version: 1.7.0 | |
- name: Извлечение репозитория | |
uses: actions/checkout@v4 | |
- name: Установка зависимостей | |
run: | | |
poetry install | |
- name: mypy | |
run: | | |
poetry run mypy . |