Run the CI checks in parallel jobs

The test sessions run as a matrix, each with its own database.

This also adds the "test-with" sessions to CI;
so, the setup installs all `SUPPORTED_PYTHONS` via `uv`,
as `nox` would otherwise pick the system Python 3.13,
which lacks the headers to build `rpy2`.
This commit is contained in:
Alexander Hess 2026-12-02 23:45:45 +01:00
commit e1cdac4cfa
Signed by: alexander
GPG key ID: B46EDB4DFC26805D

View file

@ -17,13 +17,14 @@ runs:
r-cran-zoo \
-y
# Same `uv` version as pinned in pyproject.toml
- name: Install `uv` and `python3.14`
# All `SUPPORTED_PYTHONS` from the "classifiers" in pyproject.toml
# => `nox` would otherwise pick the system's Python without headers
- name: Install `uv` and all supported Python versions
shell: bash
run: |
curl -LsSf https://astral.sh/uv/0.13.10/install.sh | sh
echo "$HOME/.local/bin" >> "$FORGEJO_PATH"
"$HOME/.local/bin/uv" python install 3.14
"$HOME/.local/bin/uv" python install $(grep -oP 'Programming Language :: Python :: \K3\.\d+' pyproject.toml)
- name: Install `velofy` and its dependencies
shell: bash