Skip to content

Add unit test workflow #2

Add unit test workflow

Add unit test workflow #2

Workflow file for this run

name: CI
on:
pull_request:
push:
branches: [develop]
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4
- name: Install uv
uses: astral-sh/setup-uv@v5
with:
enable-cache: true
cache-dependency-glob: uv.lock
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: Install dependencies
run: uv sync --extra docs --locked
- name: Run tests
run: uv run pytest -q -m "not hardware"
- name: Run Ruff
run: uv run ruff check src
- name: Build documentation
run: uv run --extra docs mkdocs build --strict