Skip to content

Commit eeceb38

Browse files
committed
Revert "add an option to automatically show failures details in GA"
This reverts commit cb71e0f.
1 parent cb71e0f commit eeceb38

File tree

1 file changed

+0
-19
lines changed

1 file changed

+0
-19
lines changed

.github/scripts/run-random-tests.sh

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
# Usage: ./run-random-tests.sh [options]
1111
# Options:
1212
# -q, --quiet Suppress debug output
13-
# -f, --show-failures Print failed test output in summary (auto-enabled in GitHub Actions)
1413
# -c, --component COMPONENT Test single COMPONENT (overrides config file)
1514
# -n, --max-jobs MAX_JOBS Limit concurrent test jobs (auto-detect if omitted)
1615
# -r, --repeat REPEAT Repeat full component run REPEAT times
@@ -53,7 +52,6 @@ component=""
5352
max_jobs=""
5453
repeat_count=1
5554
timeout_seconds=300
56-
show_failures=""
5755
first_result=true
5856
declare -a bg_pids=()
5957

@@ -279,10 +277,6 @@ parse_arguments() {
279277
quiet="--quiet"
280278
shift
281279
;;
282-
-f|--show-failures)
283-
show_failures="--show-failures"
284-
shift
285-
;;
286280
-c|--component)
287281
if [[ $# -lt 2 ]]; then
288282
print_error "Missing value for --component"
@@ -350,7 +344,6 @@ show_help() {
350344
echo ""
351345
echo -e "${YELLOW}Options:${RESET}"
352346
echo -e " ${GREEN}-q, --quiet${RESET} Suppress debug output"
353-
echo -e " ${GREEN}-f, --show-failures${RESET} Print failed test output in summary (auto-enabled in GitHub Actions)"
354347
echo -e " ${GREEN}-c, --component COMPONENT${RESET} Test single ${GREEN}COMPONENT${RESET} (overrides config file)"
355348
echo -e " ${GREEN}-n, --max-jobs MAX_JOBS${RESET} Limit concurrent test jobs (auto-detect if omitted)"
356349
echo -e " ${GREEN}-r, --repeat REPEAT${RESET} Repeat full component run ${GREEN}REPEAT${RESET} times"
@@ -765,18 +758,6 @@ print_summary() {
765758
fi
766759

767760
echo -e " ${RED}${RESET} ${BOLD}$failed_component${RESET} ($result_file)"
768-
769-
if [[ -n "${GITHUB_ACTIONS:-}" || "$show_failures" == "--show-failures" ]]; then
770-
if [[ -f "$result_file" ]]; then
771-
if [[ -n "${GITHUB_ACTIONS:-}" ]]; then
772-
echo "::group::Output: $failed_component"
773-
fi
774-
cat "$result_file"
775-
if [[ -n "${GITHUB_ACTIONS:-}" ]]; then
776-
echo "::endgroup::"
777-
fi
778-
fi
779-
fi
780761
done < <(printf '%s\n' "${failed_components[@]}" | sort)
781762
fi
782763

0 commit comments

Comments
 (0)