CI: Retry tests after timeout
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.