Skip to content

feat(app,qqa): 3D EA cone field, TSP multi-penalty UX, kwargs-resilie… #21

feat(app,qqa): 3D EA cone field, TSP multi-penalty UX, kwargs-resilie…

feat(app,qqa): 3D EA cone field, TSP multi-penalty UX, kwargs-resilie… #21

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
lint-and-test:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v5
# ``setup-uv`` switched to immutable releases at v8.0.0 and stopped
# publishing the moving ``@v8`` major tag, so pin to a specific
# immutable release. See
# https://github.com/astral-sh/setup-uv/releases/tag/v8.0.0
- name: Install uv
uses: astral-sh/setup-uv@v8.1.0
with:
enable-cache: true
- name: Set up Python ${{ matrix.python-version }}
run: uv python install ${{ matrix.python-version }}
- name: Install package with all extras (CPU torch)
env:
PIP_EXTRA_INDEX_URL: https://download.pytorch.org/whl/cpu
run: uv sync --extra plotly --extra gui --extra docs --extra dev
- name: Ruff lint
run: uv run ruff check src tests scripts app
- name: Ruff format check
run: uv run ruff format --check src tests scripts app
- name: Run tests
run: uv run pytest -q
- name: MkDocs strict build
run: uv run mkdocs build --clean --strict