Skip to content

chore: prepare for release; add versioning & packaging #4

chore: prepare for release; add versioning & packaging

chore: prepare for release; add versioning & packaging #4

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [main]
jobs:
test:
name: Test and lint
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.11", "3.12"]
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@bd01e18f51369d5a26f1651c3cb451d3417e3bba
with:
# version: ${{ vars.UV_VERSION }}
# python-version: ${{ vars.DEFAULT_PYTHON_VERSION }}
version: 0.7.3
python-version: 3.12
- name: Install dependencies
run: uv sync --all-extras
- name: Run linting
run: |
uv run black --check src/
uv run isort --check-only src/
uv run mypy src/
# requires hive --dev.
# - name: Run tests
# run: uv run pytest