Skip to content

Commit 27f5838

Browse files
committed
Perform test retries on daily builds
1 parent 4af0dd5 commit 27f5838

File tree

3 files changed

+30
-10
lines changed

3 files changed

+30
-10
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
name: Build (daily no cache no retries)
2+
3+
on:
4+
schedule:
5+
# daily at 16:48 UTC
6+
- cron: "48 16 * * *"
7+
workflow_dispatch:
8+
9+
jobs:
10+
common:
11+
uses: ./.github/workflows/build-common.yml
12+
with:
13+
max-test-retries: 0
14+
no-build-cache: true
15+
16+
test-latest-deps:
17+
uses: ./.github/workflows/reusable-test-latest-deps.yml
18+
with:
19+
max-test-retries: 0
20+
no-build-cache: true
21+
22+
test-indy:
23+
uses: ./.github/workflows/reusable-test-indy.yml
24+
with:
25+
max-test-retries: 0
26+
no-build-cache: true
27+
28+
# intentionally not using the notification workflow because currently this build fails
29+
# every day due to the lack of retries and so being notified every day is just noise

.github/workflows/build-daily-no-build-cache.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: Build (daily --no-build-cache)
1+
name: Build (daily no cache)
22

33
on:
44
schedule:
@@ -10,19 +10,16 @@ jobs:
1010
common:
1111
uses: ./.github/workflows/build-common.yml
1212
with:
13-
max-test-retries: 0
1413
no-build-cache: true
1514

1615
test-latest-deps:
1716
uses: ./.github/workflows/reusable-test-latest-deps.yml
1817
with:
19-
max-test-retries: 0
2018
no-build-cache: true
2119

2220
test-indy:
2321
uses: ./.github/workflows/reusable-test-indy.yml
2422
with:
25-
max-test-retries: 0
2623
no-build-cache: true
2724

2825
# muzzle is not included here because it doesn't use gradle cache anyway and so is already covered

.github/workflows/build-daily.yml

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,12 @@ on:
99
jobs:
1010
common:
1111
uses: ./.github/workflows/build-common.yml
12-
with:
13-
max-test-retries: 0
1412

1513
test-latest-deps:
1614
uses: ./.github/workflows/reusable-test-latest-deps.yml
17-
with:
18-
max-test-retries: 0
1915

2016
test-indy:
2117
uses: ./.github/workflows/reusable-test-indy.yml
22-
with:
23-
max-test-retries: 0
2418

2519
muzzle:
2620
uses: ./.github/workflows/reusable-muzzle.yml

0 commit comments

Comments
 (0)