File tree Expand file tree Collapse file tree
agent-skills/run-quality-gate/scripts Expand file tree Collapse file tree Original file line number Diff line number Diff line change 107107pytest_status=0
108108pytest_pid=" "
109109pytest_ran=false
110+ pytest_reused=false
110111if [ " ${run_backend} " = true ] && [ " ${ci_verdict} " = " success" ]; then
111112 pytest_ran=true
113+ pytest_reused=true
112114 echo " backend pytest: PASS (reusing CI test-backend run for pushed HEAD $( git rev-parse --short HEAD) ; local run skipped)"
113115 echo " CI verdict reused; see: gh run list --commit $( git rev-parse HEAD) " > " ${pytest_log} "
114116elif [ " ${run_backend} " = true ]; then
136138 echo " frontend build: FAIL (exit ${build_status} )"
137139 fi
138140}
139- [ " ${pytest_ran} " = true ] && {
141+ [ " ${pytest_ran} " = true ] && [ " ${pytest_reused} " = false ] && {
140142 if [ " ${pytest_status} " -eq 0 ]; then
141143 echo " backend pytest: PASS"
142144 else
You can’t perform that action at this time.
0 commit comments