Python: add better test coverage to individual tests, and all-tests task, gh … (#400)

* add better test coverage to individual tests, and all-tests task, gh action to surface

* remove cache location

* test version-file

* updated uv setup for consistency

* mypy fix

* update naming

* temporarily removed mypy from workflow
This commit is contained in:
Eduard van Valkenburg
2025-08-12 20:35:36 +02:00
committed by GitHub
Unverified
parent df9d85d1f0
commit 53866218d2
12 changed files with 150 additions and 31 deletions
+3 -4
View File
@@ -8,7 +8,8 @@ on:
- "python/**"
env:
UV_SEMVER: "0.8.x"
# Configure a constant location for the uv cache
UV_CACHE_DIR: /tmp/.uv-cache
jobs:
pre-commit:
@@ -24,15 +25,13 @@ jobs:
run:
working-directory: ./python
env:
# Configure a constant location for the uv cache
UV_CACHE_DIR: /tmp/.uv-cache
UV_PYTHON: ${{ matrix.python-version }}
steps:
- uses: actions/checkout@v4
- name: Set up uv
uses: astral-sh/setup-uv@v6
with:
version: ${{ env.UV_SEMVER }}
version-file: "python/pyproject.toml"
enable-cache: true
cache-suffix: ${{ runner.os }}-${{ matrix.python-version }}
cache-dependency-glob: "**/uv.lock"