diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 61d020c7e..517b6d26d 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -343,3 +343,19 @@ jobs: - name: Run tests working-directory: .github/workflows run: pixi run test + + uv-sync: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v7 + with: + persist-credentials: false + + - name: Install uv + uses: astral-sh/setup-uv@bec219d24cd3e171d82865faccec33120bb574f4 # v10.1.0 + with: + enable-cache: false + version: "0.12.13" # Released on 2026-09-10 + + # Ensure that dependencies and dependency groups are consistent and resolvable. + - run: uv sync --all-extras --all-groups --dry-run diff --git a/.gitignore b/.gitignore index 53397a952..7548894b8 100644 --- a/.gitignore +++ b/.gitignore @@ -10,3 +10,4 @@ docs/_build dist/ .coverage tests/packages/**/.wraplock +*.lock diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 05c42a041..6c4c73617 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -2,6 +2,8 @@ # # SPDX-License-Identifier: MIT +# 'pre-commit' is not a project dependency -- if needed, users may choose to install it + ci: autofix_prs: false autoupdate_commit_msg: 'MAINT: bump pre-commit dependencies' diff --git a/pyproject.toml b/pyproject.toml index ee1b073c6..4dae4351a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -64,6 +64,10 @@ docs = [ 'sphinx-design >= 0.1.0', 'sphinxext-opengraph >= 0.7.0', ] +# uv includes by default the dev dependency group in the environment +dev = [ + {include-group = 'test'}, +] [tool.mypy]