Skip to content

Commit b02b530

Browse files
author
Sylvain MARIE
committed
Fixed CI job list for releases to be correct
1 parent 1095bd9 commit b02b530

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
@@ -316,8 +316,11 @@ def gha_list(session):
316316
sessions_list = ["%s-%s" % (session_func.__name__, py) for py in session_func.python]
317317
else:
318318
if additional_args.with_version:
319-
sessions_list = [{"python": py, "session": "%s-%s(%s)" % (session_func.__name__, py, param)}
320-
for py, param in product(session_func.python, session_func.parametrize)]
319+
# sessions_list = [{"python": py, "session": "%s-%s(%s)" % (session_func.__name__, py, param)}
320+
# for py, param in product(session_func.python, session_func.parametrize)]
321+
# Hack to return the valid ones only, in order # TODO remove this hack when ENV is removed
322+
sessions_list = [{"python": py, "session": "%s-%s(env='%s')" % (session_func.__name__, py, env)}
323+
for py, env in ENVS.keys()]
321324
else:
322325
sessions_list = ["%s-%s(%s)" % (session_func.__name__, py, param)
323326
for py, param in product(session_func.python, session_func.parametrize)]

0 commit comments

Comments
 (0)