From 91003380d07db3317bb9ff51677e63427fdb899f Mon Sep 17 00:00:00 2001 From: Nikita Kozlovskiy Date: Mon, 18 Dec 2023 18:53:10 +0100 Subject: [PATCH 1/2] skip non existing files --- .github/scripts/tests/transform-ya-junit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/tests/transform-ya-junit.py b/.github/scripts/tests/transform-ya-junit.py index e85d78b2ebef..2ea29a9698e7 100755 --- a/.github/scripts/tests/transform-ya-junit.py +++ b/.github/scripts/tests/transform-ya-junit.py @@ -101,7 +101,7 @@ def get_logs(self, cls, name): 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 From a73b4adbca5646ba677bd94f00cf526477a29715 Mon Sep 17 00:00:00 2001 From: Nikita Kozlovskiy Date: Mon, 18 Dec 2023 19:07:36 +0100 Subject: [PATCH 2/2] ci: put build results to cache on PR builds --- .github/workflows/pr_check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/pr_check.yml b/.github/workflows/pr_check.yml index f7b32fdfe70f..a85f9df01831 100644 --- a/.github/workflows/pr_check.yml +++ b/.github/workflows/pr_check.yml @@ -122,5 +122,5 @@ jobs: test_type: "unittest,py3test,py2test,pytest" test_threads: 52 runner_label: auto-provisioned - put_build_results_to_cache: false + put_build_results_to_cache: true secrets: inherit