output flaky tests in summary and status

This commit is contained in:
Ivan Kuchin
2026-06-09 15:09:28 +02:00
parent bda6278fd6
commit ad0190de62
2 changed files with 14 additions and 0 deletions
+1
View File
@@ -175,6 +175,7 @@ run_features() {
exit 1
elif [ "$failed_count" -le 10 ]; then
echo "retrying $failed_count failed examples"
awk '$3 == "failed" {print "- `rspec " $1 "`"}' tmp/spec_examples.txt > tmp/retried_specs.txt
execute "bundle exec rspec --only-failures --format documentation {,modules/*/}spec/features/**/*_spec.rb"
else
echo "too many failures ($failed_count), not retrying"