Skip to content

Python 3.14 support, drop 3.9 #763

Python 3.14 support, drop 3.9

Python 3.14 support, drop 3.9 #763

Workflow file for this run

# This workflow will install Python dependencies, run tests and lint with a single version of Python
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-python-with-github-actions
name: CI
on:
push:
branches: [develop]
paths-ignore:
- "docs/**"
pull_request:
branches: [develop]
paths-ignore:
- "docs/**"
jobs:
cpython:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
python-version:
- "3.10"
- "3.11"
- "3.12"
- "3.13"
- "3.14"
steps:
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
with:
persist-credentials: false
- name: Set up ${{ matrix.python-version }} on ${{ matrix.os }}
uses: actions/setup-python@83679a892e2d95755f2dac6acb0bfd1e9ac5d548 # v6.1.0
with:
python-version: ${{ matrix.python-version }}
- name: "Install uv"
uses: astral-sh/setup-uv@1e862dfacbd1d6d858c55d9b792c756523627244 # v7.1.4
- name: "Install dependencies"
run: |
uv pip install . -r requirements_dev.txt --system
uv pip install diagrams --system
- name: "Run Ruff"
run: ruff check
- name: "Run tests"
run: |
pytest
- name: "Run vulture"
run: |
python -m vulture src/aiogram_dialog --min-confidence 70