Skip to content

chore: update lock-file #1172

chore: update lock-file

chore: update lock-file #1172

Workflow file for this run

---
name: Python CI
on:
push:
branches: ["main"]
paths-ignore: ["*.md"]
pull_request:
branches: ["main"]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.10", "3.11", "3.12", "3.13"]
steps:
- name: Checkout code
uses: actions/[email protected]
# - name: "Set Python Version ${{ matrix.python-version }}"
# run: echo '${{ matrix.python-version }}' > .python-version
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: "uv.lock"
- name: Set up Python ${{ matrix.python-version }}
run: |
echo '::group::UV Version'
uv --version
echo '::endgroup::'
echo '::group::Install Python'
uv python install ${{ matrix.python-version }}
echo '::endgroup::'
- name: Install the project
run: uv sync --all-extras --dev
- name: Run pre-commit
run: uv run pre-commit run --all-files
- name: Build docs
working-directory: ./docs
run: uv run make html
- name: Test with pytest
run: uv run pytest tests