Skip to content

CI test:

CI test: #128

Workflow file for this run

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