Skip to content

Commit f0ab78c

Browse files
osalykjanekmi
authored andcommitted
common: split the pmem_tests workflow + update execution times (#21)
Signed-off-by: Oksana Salyk <[email protected]>
1 parent c755942 commit f0ab78c

File tree

3 files changed

+29
-17
lines changed

3 files changed

+29
-17
lines changed

.github/workflows/pmem_tests_1.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ name: PMEM tests part 1
66
on:
77
workflow_dispatch:
88
schedule:
9-
# run this job at 18:00 UTC every other day (even-numbered)
10-
- cron: '0 18 2-31/2 * *'
9+
# run this job at 18:00 UTC every Friday
10+
- cron: '0 18 * * 5'
1111

1212
permissions: {}
1313

.github/workflows/pmem_tests_2.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ name: PMEM tests part 2
66
on:
77
workflow_dispatch:
88
schedule:
9-
# run this job at 18:00 UTC every other day (odd-numbered)
10-
- cron: '0 18 */2 * *'
9+
# run this job at 6:00 UTC every Saturday
10+
- cron: '0 6 * * 6'
1111

1212
permissions: {}
1313

@@ -19,16 +19,5 @@ jobs:
1919
with:
2020
force_enable: '["pmemcheck", "memcheck"]'
2121
valgrind: 1
22-
# 12h = 720m (arbitrarily picked in hope it will be enough).
23-
timeout_minutes: 720
24-
25-
26-
# Test the default build with force-enabled Valgrind tooling for thread error
27-
# detection.
28-
Thread:
29-
uses: ./.github/workflows/pmem_test_matrix.yml
30-
with:
31-
force_enable: '["drd", "helgrind"]'
32-
valgrind: 1
33-
# 12h = 720m (arbitrarily picked in hope it will be enough).
34-
timeout_minutes: 720
22+
# 24h = 1440m (arbitrarily picked in hope it will be enough).
23+
timeout_minutes: 1440

.github/workflows/pmem_tests_3.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Run all tests on PMEM.
2+
#
3+
# This workflow is run on 'self-hosted' runners.
4+
name: PMEM tests part 3
5+
6+
on:
7+
workflow_dispatch:
8+
schedule:
9+
# run this job at 6:00 UTC every Sunday
10+
- cron: '0 6 * * 0'
11+
12+
permissions: {}
13+
14+
jobs:
15+
# Test the default build with force-enabled Valgrind tooling for thread error
16+
# detection.
17+
Thread:
18+
uses: ./.github/workflows/pmem_test_matrix.yml
19+
with:
20+
force_enable: '["drd", "helgrind"]'
21+
valgrind: 1
22+
# 24h = 1440m (arbitrarily picked in hope it will be enough).
23+
timeout_minutes: 1440

0 commit comments

Comments
 (0)