From a55e7c27f5d8b1eb11f21471e1d9d82fdeb90922 Mon Sep 17 00:00:00 2001 From: Sylvain MARIE Date: Thu, 26 Sep 2024 11:43:12 +0200 Subject: [PATCH] Fixed CI --- noxfile.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/noxfile.py b/noxfile.py index 69addf7..7462f95 100644 --- a/noxfile.py +++ b/noxfile.py @@ -97,12 +97,12 @@ class Folders: (PY311, "pytest-latest"): {"coverage": True, "pkg_specs": {"pip": ">19", "pytest": ""}}, } -ENV_PARAMS = tuple((k[0], k[1], v["coverage"], v["pkg_specs"]) for k, v in ENVS.items()) -ENV_IDS = tuple(ENVS.keys()) +ENV_PARAMS = tuple((k[0], v["coverage"], v["pkg_specs"]) for k, v in ENVS.items()) +ENV_IDS = tuple(f"{k[0].replace('.', '-')}-env-{k[1]}" for k in ENVS) @nox.session -@nox.parametrize("python,name,coverage,pkg_specs", ENV_PARAMS, ids=ENV_IDS) +@nox.parametrize("python,coverage,pkg_specs", ENV_PARAMS, ids=ENV_IDS) def tests(session, coverage, pkg_specs): """Run the test suite, including test reports generation and coverage reports. """