Skip to content

Commit a582ba5

Browse files
author
Sylvain MARIE
committed
Fixed CI job list for releases to be correct
1 parent e6f78e2 commit a582ba5

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

noxfile.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -326,8 +326,11 @@ def gha_list(session):
326326
sessions_list = ["%s-%s" % (session_func.__name__, py) for py in session_func.python]
327327
else:
328328
if additional_args.with_version:
329-
sessions_list = [{"python": py, "session": "%s-%s(%s)" % (session_func.__name__, py, param)}
330-
for py, param in product(session_func.python, session_func.parametrize)]
329+
# sessions_list = [{"python": py, "session": "%s-%s(%s)" % (session_func.__name__, py, param)}
330+
# for py, param in product(session_func.python, session_func.parametrize)]
331+
# Hack to return the valid ones only, in order # TODO remove this hack when ENV is removed
332+
sessions_list = [{"python": py, "session": "%s-%s(env='%s')" % (session_func.__name__, py, env)}
333+
for py, env in ENVS.keys()]
331334
else:
332335
sessions_list = ["%s-%s(%s)" % (session_func.__name__, py, param)
333336
for py, param in product(session_func.python, session_func.parametrize)]

0 commit comments

Comments
 (0)