Browse Source

🐛 Preserve pytest exit code in regression check (#16091)

pull/16092/head
Sebastián Ramírez 1 week ago
committed by GitHub
parent
commit
0a4cd1c78f
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 3
      .github/workflows/test.yml

3
.github/workflows/test.yml

@ -262,7 +262,8 @@ jobs:
git apply "$RUNNER_TEMP/tests.patch" git apply "$RUNNER_TEMP/tests.patch"
uv sync --locked --no-dev --group tests --extra all uv sync --locked --no-dev --group tests --extra all
set +e 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=$? status=$?
set -e set -e
if [ "$status" -eq 0 ]; then if [ "$status" -eq 0 ]; then

Loading…
Cancel
Save