Skip to content

Merge pull request #2 from VH-Lab/claude/complete-intan-port-9bQeC #6

Merge pull request #2 from VH-Lab/claude/complete-intan-port-9bQeC

Merge pull request #2 from VH-Lab/claude/complete-intan-port-9bQeC #6

Workflow file for this run

name: CI
on:
push:
branches: [main, master]
pull_request:
branches: [main, master]
jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: "3.12"
- name: Install dependencies
run: pip install black ruff
- name: Check formatting with black
run: black --check src/ tests/
- name: Lint with ruff
run: ruff check src/ tests/
test:
name: Test (Python ${{ matrix.python-version }})
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
python-version: ["3.10", "3.11", "3.12"]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: ${{ matrix.python-version }}
- name: Install package with dev dependencies
run: pip install -e ".[dev]"
- name: Run tests
run: pytest tests/ -v --tb=short