Skip to content

Bump ruff from 0.3.7 to 0.4.1 in the dependencies group #158

Bump ruff from 0.3.7 to 0.4.1 in the dependencies group

Bump ruff from 0.3.7 to 0.4.1 in the dependencies group #158

Workflow file for this run

name: Test and lint
on: [push]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12"]
fail-fast: false
steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
cache: "pip"
cache-dependency-path: "**/poetry.lock"
- name: Install poetry
run: pip --disable-pip-version-check install -U poetry
- name: Install Python packages
run: poetry install
- name: Lint with ruff
run: |
poetry run ruff --version
poetry run poe lint --output-format=full
- name: Type checking with mypy
run: |
poetry run mypy --version
poetry run poe typecheck
- name: Test with unittest
run: poetry run poe test
- name: Run doctests
run: poetry run poe doctest