Skip to content

Commit b2c10a6

Browse files
authored
Merge pull request #1570 from ychin/fix-ci-respect-matrix-testgui
ci: Fix matrix to use testgui flag properly
2 parents 6b809a4 + 3d76744 commit b2c10a6

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

.github/workflows/ci-macvim.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ jobs:
5252
os: ${{ matrix.os }}
5353
legacy: ${{ matrix.legacy && true || false }}
5454
xcode: ${{ matrix.xcode }}
55+
testgui: ${{ matrix.testgui && true || false }}
5556
publish: ${{ matrix.publish && true || false }}
5657
publish_postfix: ${{ matrix.publish_postfix }}
5758
optimized: ${{ matrix.optimized && true || false }}

.github/workflows/macvim-buildtest.yaml

+4-2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ on:
1313
type: boolean
1414
xcode:
1515
type: string
16+
testgui:
17+
type: boolean
1618
publish:
1719
type: boolean
1820
publish_postfix:
@@ -363,7 +365,7 @@ jobs:
363365
make ${MAKE_BUILD_ARGS} -j${NPROC} -C src unittesttargets
364366
365367
- name: Test Vim
366-
if: startsWith(github.ref, 'refs/tags/') || !matrix.testgui
368+
if: startsWith(github.ref, 'refs/tags/') || !inputs.testgui
367369
timeout-minutes: 30
368370
run: |
369371
defaults delete org.vim.MacVim # Clean up stale states
@@ -373,7 +375,7 @@ jobs:
373375
make ${MAKE_BUILD_ARGS} -C src test
374376
375377
- name: Test Vim (GUI)
376-
if: startsWith(github.ref, 'refs/tags/') || matrix.testgui
378+
if: startsWith(github.ref, 'refs/tags/') || inputs.testgui
377379
timeout-minutes: 30
378380
run: |
379381
defaults delete org.vim.MacVim # Clean up stale states

0 commit comments

Comments
 (0)