From c6c0d0ed60a79316b31f1eaa21bf67fe8bd476cb Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Thu, 18 Jan 2024 20:00:29 +0530 Subject: [PATCH] Sleep for a minute in the hope that macOS crash log will become available --- .github/workflows/ci.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/ci.py b/.github/workflows/ci.py index 447d01f57..b83432141 100644 --- a/.github/workflows/ci.py +++ b/.github/workflows/ci.py @@ -10,6 +10,7 @@ import shutil import subprocess import sys import tarfile +import time from urllib.request import urlopen BUNDLE_URL = 'https://download.calibre-ebook.com/ci/kitty/{}-64.tar.xz' @@ -21,6 +22,7 @@ SW = None def do_print_crash_reports(): print('Printing available crash reports...') if is_macos: + time.sleep(60) for cdir in (os.path.expanduser('~/Library/Logs/DiagnosticReports'), '/Library/Logs/DiagnosticReports', '/cores'): if not os.path.exists(cdir): continue