Skip to content

update all dependencies #319

update all dependencies

update all dependencies #319

name: Python code checks
on:
push:
branches:
- "**"
pull_request:
branches:
- master
workflow_dispatch:
jobs:
check_python_code:
runs-on: ubuntu-24.04
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
name: Code checks with Python ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- name: Install Poetry
run: pipx install poetry~=2.1.3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "poetry"
- name: Setup project with Poetry
run: |
python --version; python -m pip --version; poetry --version
poetry install --no-interaction
- name: Check code style
run: poetry run poe format_check
- name: Check import order
run: poetry run poe isort_check
- name: Lint with pylint
run: poetry run poe lint_check
- name: Run unit tests
run: poetry run poe test