Skip to content

Commit 1052f49

Browse files
authored
Add system-tests on pushes on master + schedules (#9558)
1 parent dc98fb9 commit 1052f49

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

.github/workflows/run-system-tests.yaml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,18 @@ name: Run system tests
33
on:
44
pull_request:
55
workflow_dispatch:
6+
schedule:
7+
- cron: 0 4 * * *
8+
push:
9+
branches:
10+
- master
611

712
# Cancel long-running jobs when a new commit is pushed
813
concurrency:
9-
group: ${{ github.workflow }}-${{ github.ref }}
14+
# this ensures that only one workflow runs at a time for a given branch on pull requests
15+
# as the group key is the workflow name and the branch name
16+
# for scheduled runs and pushes to master, we use the run id to ensure that all runs are executed
17+
group: ${{ (github.event_name == 'pull_request' && format('{0}-{1}', github.workflow, github.ref)) || format('{0}-{1}', github.workflow, github.run_id) }}
1018
cancel-in-progress: true
1119

1220
jobs:

0 commit comments

Comments
 (0)