tests: tox minversions environment use python 3.10

This commit is contained in:
Éloi Rivard 2024-10-31 19:44:41 +01:00
parent 0656811313
commit 45457b3cc9
No known key found for this signature in database
GPG key ID: 7EDA204EA57DD184
3 changed files with 4 additions and 3 deletions

View file

@ -53,8 +53,8 @@ jobs:
uses: astral-sh/setup-uv@v3
with:
enable-cache: true
- name: Install Python 3.13
run: uv python install 3.13
- name: Install Python 3.10
run: uv python install 3.10
- name: Install apt dependencies
run: |
sudo apt update

View file

@ -63,7 +63,7 @@ tests:
minversions:
needs: ["tests"]
variables:
PYTHON_VERSION: 3.13
PYTHON_VERSION: 3.10
image: ghcr.io/astral-sh/uv:$UV_VERSION-python$PYTHON_VERSION-$BASE_LAYER
stage: test
script:

View file

@ -211,6 +211,7 @@ commands = [
[tool.tox.env.minversions]
uv_resolution = "lowest-direct"
basepython = ["python3.10"]
commands = [
["pytest", "--showlocals", "--full-trace", "{posargs}"],
]