Skip to content

Commit 285860a

Browse files
localheinzsebastianbergmann
authored andcommitted
Enhancement: Run tests nightly at 12.15am
1 parent 1798c01 commit 285860a

File tree

1 file changed

+16
-2
lines changed

1 file changed

+16
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,10 @@
11
# https://docs.github.com/en/actions
22

33
on:
4-
- pull_request
5-
- push
4+
pull_request: null
5+
push: null
6+
schedule:
7+
- cron: "15 0 * * *"
68

79
name: CI
810

@@ -39,6 +41,8 @@ jobs:
3941
coding-guidelines:
4042
name: Coding Guidelines
4143

44+
if: github.event_name != 'schedule'
45+
4246
runs-on: ubuntu-latest
4347

4448
steps:
@@ -59,6 +63,8 @@ jobs:
5963
type-checker:
6064
name: Type Checker
6165

66+
if: github.event_name != 'schedule'
67+
6268
needs:
6369
- dependency-validation
6470

@@ -190,6 +196,8 @@ jobs:
190196
code-coverage:
191197
name: Code Coverage
192198

199+
if: github.event_name != 'schedule'
200+
193201
needs:
194202
- end-to-end-tests
195203

@@ -222,6 +230,8 @@ jobs:
222230
build-phar:
223231
name: Build PHAR
224232

233+
if: github.event_name != 'schedule'
234+
225235
needs:
226236
- end-to-end-tests
227237

@@ -267,6 +277,8 @@ jobs:
267277
test-phar:
268278
name: Test PHAR
269279

280+
if: github.event_name != 'schedule'
281+
270282
needs:
271283
- build-phar
272284

@@ -322,6 +334,8 @@ jobs:
322334
test-phar-without-code-coverage:
323335
name: Test PHAR without code coverage
324336

337+
if: github.event_name != 'schedule'
338+
325339
needs:
326340
- build-phar
327341

0 commit comments

Comments
 (0)