- move timing details into a foldable group when run in GitHub Actions.
Spec:
https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#grouping-log-lines
- enable `-r` (run time stats) option in autotools' `test-ci` target,
syncing it with cmake.
Closes #14284
TEST_NF = -a -p ~flaky ~timing-dependent
# special CI target derived from nonflaky with CI-specific flags
-TEST_CI = $(TEST_NF) -rm
+TEST_CI = $(TEST_NF) -r -rm
endif
# make sure that PERL is pointing to an executable
return if(not $timestats);
+ logmsg "::group::Run Time Stats\n";
+
logmsg "\nTest suite total running time breakdown per task...\n\n";
my @timesrvr;
}
logmsg "\n";
+
+ logmsg "::endgroup::\n";
}
#######################################################################