Skip to content

Add support for Python3.14 (#62) #99

Add support for Python3.14 (#62)

Add support for Python3.14 (#62) #99

Workflow file for this run

name: Check
on:
push:
branches: [main]
pull_request:
jobs:
lint:
name: 🧹 Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
- name: Install poetry
run: pipx install poetry==2.4.1
- name: Set up Python
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
with:
python-version: "3.14"
cache: 'poetry'
- name: Install dependencies
run: poetry install --no-interaction
- run: poetry run flake8
test:
name: 🧪 ${{ matrix.os }} / ${{ matrix.python-version }}
runs-on: ${{ matrix.image }}
strategy:
matrix:
os: [Ubuntu, macOS, Windows]
python-version: ["3.10", "3.11", "3.12", "3.13", "3.14"]
include:
- os: Ubuntu
image: ubuntu-latest
- os: Windows
image: windows-latest
- os: macOS
image: macos-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
submodules: true
- name: Install poetry
run: pipx install poetry==2.4.1
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
id: python-setup
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Set poetry environment
run: poetry env use ${{ steps.python-setup.outputs.python-path }}
- name: Install dependencies
run: poetry install --no-interaction
- run: poetry run pytest
pypy:
name: Ubuntu / PyPy 3.10
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9c091bb21b7c1c1d1991bb908d89e4e9dddfe3e0 # v7.0.0
with:
submodules: true
- name: Install Poetry
run: pipx install poetry==2.4.1
- name: Set up PyPy 3.10
uses: actions/setup-python@ece7cb06caefa5fff74198d8649806c4678c61a1 # v6.3.0
id: pypy-setup
with:
python-version: pypy3.10
cache: 'poetry'
- name: Set Poetry environment
run: poetry env use ${{ steps.pypy-setup.outputs.python-path }}
- name: Install dependencies
run: poetry install --no-interaction
- run: poetry run pytest