a298dbcfe3
`shell: bash` runs the step with -e injected, and `set -uo pipefail` does not clear it. A non-zero pytest exit killed the script before `status=$?`, so the -eq 5 branch and its ::error message never ran. The job still failed red, but the diagnostic that names the cause never printed.