Skip to content

py314-dev in tox

py314-dev in tox #667

Workflow file for this run

---
name: Pylint
permissions: {}
on:
- workflow_dispatch
- push
# push:
# branches: ["main", "master"]
# pull_request:
# branches: ["main", "master"]
jobs:
build:
permissions: read-all
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12", "3.13", 3.14-dev]
# 3.10 no longer compatible
steps:
- uses: actions/checkout@v4
# - uses: actions/checkout@latest # latest not callable
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install build prerequisites (for 3.14)
run: sudo apt install libxml2-dev libxslt-dev
- name: Prepare running environment (dependencies)
run: |
pip install --upgrade poetry poetry-plugin-export
poetry export --without-hashes --output=requirements.txt
pip install --upgrade pylint --requirement requirements.txt
- name: Analysing the code with pylint
run: |
# shellcheck disable=SC2035,SC2046
# pylint --verbose --jobs 0 $(git ls-files *.py *.pyi)
pylint --verbose --jobs 0 src/valuefragments/[cdhm]*.py