File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -43,7 +43,8 @@ run_package_test() {
4343 local PROJECT_ID
4444 local GOOGLE_APPLICATION_CREDENTIALS
4545 local NOX_FILE
46- local NOX_SESSION
46+ # Inherit NOX_SESSION from environment to allow configs (like prerelease.cfg) to pass it in
47+ local NOX_SESSION=" ${NOX_SESSION} "
4748
4849 echo " ------------------------------------------------------------"
4950 echo " Configuring environment for: ${package_name} "
@@ -66,7 +67,8 @@ run_package_test() {
6667 PROJECT_ID=$( cat " ${KOKORO_GFILE_DIR} /project-id.json" )
6768 GOOGLE_APPLICATION_CREDENTIALS=" ${KOKORO_GFILE_DIR} /service-account.json"
6869 NOX_FILE=" noxfile.py"
69- NOX_SESSION=" system-3.12"
70+ # Use inherited NOX_SESSION if set, otherwise fallback to system-3.12
71+ NOX_SESSION=" ${NOX_SESSION:- system-3.12} "
7072 ;;
7173 esac
7274
You can’t perform that action at this time.
0 commit comments