From: Sebastián Ramírez Date: Tue, 28 Jul 2026 13:31:02 +0000 (+0200) Subject: 🐛 Preserve pytest exit code in regression check (#16091) X-Git-Tag: 0.140.10~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0a4cd1c78f58b548f75485505b927121fa32e225;p=thirdparty%2Ffastapi%2Ffastapi.git 🐛 Preserve pytest exit code in regression check (#16091) --- diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7d23b2e871..cdd870a1ae 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -262,7 +262,8 @@ jobs: git apply "$RUNNER_TEMP/tests.patch" uv sync --locked --no-dev --group tests --extra all set +e - xargs -0 uv run --no-sync pytest -- < "$RUNNER_TEMP/changed-tests" + mapfile -d '' -t changed_tests < "$RUNNER_TEMP/changed-tests" + uv run --no-sync pytest -- "${changed_tests[@]}" status=$? set -e if [ "$status" -eq 0 ]; then