From 741416e9933cbcc2daf931b9d6ca0f1ac17857df Mon Sep 17 00:00:00 2001 From: Oksana Salyk Date: Fri, 31 Oct 2025 10:44:46 +0100 Subject: [PATCH 1/2] common: split the pmem_tests workflow Signed-off-by: Oksana Salyk --- .github/workflows/pmem_tests_1.yml | 4 ++-- .github/workflows/pmem_tests_2.yml | 19 ++++--------------- .github/workflows/pmem_tests_3.yml | 23 +++++++++++++++++++++++ 3 files changed, 29 insertions(+), 17 deletions(-) create mode 100644 .github/workflows/pmem_tests_3.yml diff --git a/.github/workflows/pmem_tests_1.yml b/.github/workflows/pmem_tests_1.yml index aeb3db545..e580e7faa 100644 --- a/.github/workflows/pmem_tests_1.yml +++ b/.github/workflows/pmem_tests_1.yml @@ -6,8 +6,8 @@ name: PMEM tests part 1 on: workflow_dispatch: schedule: - # run this job at 18:00 UTC every other day (even-numbered) - - cron: '0 18 2-31/2 * *' + # run this job at 18:00 UTC every Monday + - cron: '0 18 * * 1' permissions: {} diff --git a/.github/workflows/pmem_tests_2.yml b/.github/workflows/pmem_tests_2.yml index 5f6f217b4..dedde38ff 100644 --- a/.github/workflows/pmem_tests_2.yml +++ b/.github/workflows/pmem_tests_2.yml @@ -6,8 +6,8 @@ name: PMEM tests part 2 on: workflow_dispatch: schedule: - # run this job at 18:00 UTC every other day (odd-numbered) - - cron: '0 18 */2 * *' + # run this job at 18:00 UTC every Tuesday + - cron: '0 18 * * 2' permissions: {} @@ -19,16 +19,5 @@ jobs: with: force_enable: '["pmemcheck", "memcheck"]' valgrind: 1 - # 12h = 720m (arbitrarily picked in hope it will be enough). - timeout_minutes: 720 - - - # Test the default build with force-enabled Valgrind tooling for thread error - # detection. - Thread: - uses: ./.github/workflows/pmem_test_matrix.yml - with: - force_enable: '["drd", "helgrind"]' - valgrind: 1 - # 12h = 720m (arbitrarily picked in hope it will be enough). - timeout_minutes: 720 + # 24h = 1440m (arbitrarily picked in hope it will be enough). + timeout_minutes: 1440 diff --git a/.github/workflows/pmem_tests_3.yml b/.github/workflows/pmem_tests_3.yml new file mode 100644 index 000000000..d2e43a513 --- /dev/null +++ b/.github/workflows/pmem_tests_3.yml @@ -0,0 +1,23 @@ +# Run all tests on PMEM. +# +# This workflow is run on 'self-hosted' runners. +name: PMEM tests part 3 + +on: + workflow_dispatch: + schedule: + # run this job at 18:00 UTC every Wednesday + - cron: '0 18 * * 3' + +permissions: {} + +jobs: + # Test the default build with force-enabled Valgrind tooling for thread error + # detection. + Thread: + uses: ./.github/workflows/pmem_test_matrix.yml + with: + force_enable: '["drd", "helgrind"]' + valgrind: 1 + # 24h = 1440m (arbitrarily picked in hope it will be enough). + timeout_minutes: 1440 From b030722c6d4fdaf3615c738961625c4dc6bbdd7d Mon Sep 17 00:00:00 2001 From: Oksana Salyk Date: Fri, 31 Oct 2025 12:10:54 +0100 Subject: [PATCH 2/2] common: update execution times Signed-off-by: Oksana Salyk --- .github/workflows/pmem_tests_1.yml | 4 ++-- .github/workflows/pmem_tests_2.yml | 4 ++-- .github/workflows/pmem_tests_3.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/pmem_tests_1.yml b/.github/workflows/pmem_tests_1.yml index e580e7faa..96ca60e47 100644 --- a/.github/workflows/pmem_tests_1.yml +++ b/.github/workflows/pmem_tests_1.yml @@ -6,8 +6,8 @@ name: PMEM tests part 1 on: workflow_dispatch: schedule: - # run this job at 18:00 UTC every Monday - - cron: '0 18 * * 1' + # run this job at 18:00 UTC every Friday + - cron: '0 18 * * 5' permissions: {} diff --git a/.github/workflows/pmem_tests_2.yml b/.github/workflows/pmem_tests_2.yml index dedde38ff..42d04e70f 100644 --- a/.github/workflows/pmem_tests_2.yml +++ b/.github/workflows/pmem_tests_2.yml @@ -6,8 +6,8 @@ name: PMEM tests part 2 on: workflow_dispatch: schedule: - # run this job at 18:00 UTC every Tuesday - - cron: '0 18 * * 2' + # run this job at 6:00 UTC every Saturday + - cron: '0 6 * * 6' permissions: {} diff --git a/.github/workflows/pmem_tests_3.yml b/.github/workflows/pmem_tests_3.yml index d2e43a513..f46ec4587 100644 --- a/.github/workflows/pmem_tests_3.yml +++ b/.github/workflows/pmem_tests_3.yml @@ -6,8 +6,8 @@ name: PMEM tests part 3 on: workflow_dispatch: schedule: - # run this job at 18:00 UTC every Wednesday - - cron: '0 18 * * 3' + # run this job at 6:00 UTC every Sunday + - cron: '0 6 * * 0' permissions: {}