File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -222,10 +222,20 @@ jobs:
222222 for pkg in ${{ matrix.chunk }}; do
223223 echo "::group::Testing $pkg"
224224 cd $pkg
225- if ! uvx --with 'nox[uv]' nox -s "core_deps_from_source-3.14"; then
226- echo "::error::Failed in $pkg"
227- FAILED=1
225+
226+ # THE FIX: Look before you leap.
227+ # Grep the nox list to see if the session actually exists here.
228+ if uvx --with 'nox[uv]' nox -l | grep -q "core_deps_from_source"; then
229+ echo "Session found in $pkg. Executing..."
230+ # Run the test using the explicit name and python flag
231+ if ! uvx --with 'nox[uv]' nox -s "core_deps_from_source-3.14"; then
232+ echo "::error::Failed in $pkg"
233+ FAILED=1
234+ fi
235+ else
236+ echo "Skipping: 'core_deps_from_source' is not defined for $pkg."
228237 fi
238+
229239 cd $GITHUB_WORKSPACE
230240 echo "::endgroup::"
231241 done
You can’t perform that action at this time.
0 commit comments