Skip to content

Commit 59147ba

Browse files
committed
run tests for macos-x64 target only on main (a release) branch
1 parent 86df89b commit 59147ba

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -942,6 +942,8 @@ jobs:
942942
- name: ${{ matrix.stage.description }}
943943
shell: bash
944944
run: make ${{ matrix.stage.make }}
945+
# For MacOS x64 - run tests only on main or release branches
946+
if: github.event_name != 'pull_request' || startsWith(github.head_ref, 'release-') || matrix.metadata.os != 'macos-15-intel'
945947
env:
946948
TARGET: ${{ matrix.metadata.target }}
947949
TARGET_DIR: target/${{ matrix.metadata.target }}/release

0 commit comments

Comments
 (0)