summaryrefslogtreecommitdiffstats
path: root/.github/scripts/tests
diff options
context:
space:
mode:
authornikita kozlovsky <[email protected]>2023-12-18 19:19:53 +0100
committerGitHub <[email protected]>2023-12-18 19:19:53 +0100
commitc3ff64df670d86d92977a16173c05515e26108d1 (patch)
treed15e33e82683d19ac517b8ffbd5c34d294941c89 /.github/scripts/tests
parent6c56d362de67d82361814c27f4c2562e5c9f771c (diff)
ci: put build results to cache for PR checks and fix log extraction in the transform-ya-junit script (#561)
* skip non existing files * ci: put build results to cache on PR builds
Diffstat (limited to '.github/scripts/tests')
-rwxr-xr-x.github/scripts/tests/transform-ya-junit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/.github/scripts/tests/transform-ya-junit.py b/.github/scripts/tests/transform-ya-junit.py
index e85d78b2ebe..2ea29a9698e 100755
--- a/.github/scripts/tests/transform-ya-junit.py
+++ b/.github/scripts/tests/transform-ya-junit.py
@@ -101,7 +101,7 @@ class YTestReportTrace:
def filter_empty_logs(logs):
result = {}
for k, v in logs.items():
- if os.stat(v).st_size == 0:
+ if not os.path.isfile(v) or os.stat(v).st_size == 0:
continue
result[k] = v
return result