Skip to content

Commit

Permalink
Fixed CI job list for releases to be correct
Browse files Browse the repository at this point in the history
  • Loading branch information
Sylvain MARIE committed Mar 16, 2024
1 parent e6f78e2 commit a582ba5
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions noxfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -326,8 +326,11 @@ def gha_list(session):
sessions_list = ["%s-%s" % (session_func.__name__, py) for py in session_func.python]
else:
if additional_args.with_version:
sessions_list = [{"python": py, "session": "%s-%s(%s)" % (session_func.__name__, py, param)}
for py, param in product(session_func.python, session_func.parametrize)]
# sessions_list = [{"python": py, "session": "%s-%s(%s)" % (session_func.__name__, py, param)}
# for py, param in product(session_func.python, session_func.parametrize)]
# Hack to return the valid ones only, in order # TODO remove this hack when ENV is removed
sessions_list = [{"python": py, "session": "%s-%s(env='%s')" % (session_func.__name__, py, env)}
for py, env in ENVS.keys()]
else:
sessions_list = ["%s-%s(%s)" % (session_func.__name__, py, param)
for py, param in product(session_func.python, session_func.parametrize)]
Expand Down

0 comments on commit a582ba5

Please sign in to comment.