forked from Github-Mirrors/canaille
tests: tox minversions environment use python 3.10
This commit is contained in:
parent
0656811313
commit
45457b3cc9
3 changed files with 4 additions and 3 deletions
4
.github/workflows/tests.yaml
vendored
4
.github/workflows/tests.yaml
vendored
|
@ -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
|
||||||
|
|
|
@ -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:
|
||||||
|
|
|
@ -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}"],
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue