Skip to content

Run tests on Python 3.14 #117

Run tests on Python 3.14

Run tests on Python 3.14 #117

Workflow file for this run

name: CI
on:
# Run action when pushed to master, or for commits in a pull request.
push:
branches:
- master
pull_request:
branches:
- master
defaults:
run:
shell: bash
jobs:
lint:
name: Linting
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.12"
cache: 'poetry'
- name: Install dependencies
run: poetry install --no-interaction
- name: Run pylint
run: poetry run pylint aiocomfoconnect/*.py
- name: Check formatting with black
run: poetry run black --check aiocomfoconnect/*.py
test:
name: Tests (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: [ "3.10", "3.11", "3.12", "3.13", "3.14" ]
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install poetry
run: pipx install poetry
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: 'poetry'
- name: Install dependencies
run: poetry install --no-interaction
- name: Run pytest
run: poetry run pytest --verbose