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:
parent
49276bb9cf
commit
e1cdac4cfa
1 changed files with 47 additions and 20 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue