Skip to content

feat: add --version option #24

feat: add --version option

feat: add --version option #24

Workflow file for this run

name: Pull Request
on:
pull_request:
types: [opened, synchronize, reopened]
paths-ignore:
- '*.md'
- docs/**
- ChangeLog
- LICENSE
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "0.5.9"
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version-file: "pyproject.toml"
- name: Install dependencies (incl. dev)
run: uv sync --all-extras --dev
- name: Linting
run: make lint
test:
runs-on: ubuntu-latest
needs: lint
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v4
with:
version: "0.5.9"
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install Poetry # needed by a few unit tests
run: pipx install poetry==1.8.5
- name: Install dependencies (incl. dev)
run: uv sync --all-extras --dev
- name: Unit testing
run: make test