File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -17,9 +17,10 @@ for attempt in 1 2 3; do
1717 echo " Execution attempt $attempt of 3..."
1818 echo " ============================================"
1919
20- if uvx --with ' nox[uv]' nox ${NOX_SESSION_ARG} ${NOX_FILE_ARG} ; then
21- echo " Tests passed successfully!"
22- exit 0
20+ # Use the installed nox directly with the uv backend
21+ if nox --backend uv ${NOX_SESSION_ARG} ${NOX_FILE_ARG} ; then
22+ echo " Tests passed successfully!"
23+ exit 0
2324 fi
2425
2526 if [[ $attempt -lt 3 ]]; then
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ git config --global --add safe.directory $(realpath .)
1313# HOISTED: Install uv exactly once globally before we fan out
1414echo " Installing uv globally..."
1515python3 -m pip install uv
16+ # Pre-install nox and the uv plugin so background jobs don't fight over locks
17+ python3 -m pip install nox nox-uv
1618
1719# --- NEW: Set maximum concurrent jobs ---
1820MAX_CONCURRENT=4
You can’t perform that action at this time.
0 commit comments