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 uses: astral-sh/setup-uv@v3
with: with:
enable-cache: true enable-cache: true
- name: Install Python 3.13 - name: Install Python 3.10
run: uv python install 3.13 run: uv python install 3.10
- name: Install apt dependencies - name: Install apt dependencies
run: | run: |
sudo apt update sudo apt update

View file

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

View file

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