Skip to content

Commit 6987cc0

Browse files
Do not run unit tests on macos on merge group (#4021)
Running tests on mac-os does not give much additional coverage over running them on Linux. No need to run them on merge groups events.
1 parent 5759c24 commit 6987cc0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/push.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,13 @@ jobs:
3939
fail-fast: false
4040
matrix:
4141
os:
42-
- macos-latest
4342
- group: databricks-protected-runner-group-large
4443
labels: linux-ubuntu-latest-large
45-
# Do not run tests on windows on merge.
44+
45+
# On merge_group events, only run the tests on Linux, to reduce time to merge.
4646
- ${{ github.event_name != 'merge_group' && fromJSON('{"group":"databricks-protected-runner-group-large","labels":"windows-server-latest-large"}') || null }}
47+
- ${{ github.event_name != 'merge_group' && 'macos-latest' || null }}
48+
4749
deployment:
4850
- "terraform"
4951
- "direct"

0 commit comments

Comments
 (0)