Skip to content

CI: Retry tests after timeout

Frank Dana requested to merge ferdnyc/cmake:ci-timeout-repeats into master

Spurious CI failures due to random test timeouts seem to be a common occurrence, particularly on the macOS runners. That's exactly the situation the REPEAT AFTER_TIMEOUT parameter to ctest_test() is documented to address. Use AFTER_TIMEOUT:2 to automatically run a second attempt.

Merge request reports