Skip to content

Commit fb414d7

Browse files
committed
disable tests
1 parent d05037f commit fb414d7

1 file changed

Lines changed: 44 additions & 44 deletions

File tree

.github/workflows/macvim-buildtest.yaml

Lines changed: 44 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -361,50 +361,50 @@ jobs:
361361
if ! git diff --exit-code -- src/MacVim/MacVim_xcode8.xcodeproj; then
362362
echo 'MacVim_xcode8.xcodeproj is outdated. Run "make -C src macvim-xcodeproj-compat" to re-generate it.'; false
363363
fi
364-
365-
- name: Test MacVim
366-
id: test_macvim
367-
timeout-minutes: 10
368-
run: |
369-
echo '::group::Build MacVim test binaries'
370-
# Build test binaries in a separate step to allow grouping in the CI output to make the output more concise.
371-
make ${MAKE_BUILD_ARGS} -C src macvim-tests-binaries
372-
echo '::endgroup::'
373-
make ${MAKE_BUILD_ARGS} -C src macvim-tests
374-
375-
- name: Upload failed MacVim test results
376-
if: ${{ !cancelled() && failure() && steps.test_macvim.conclusion == 'failure' }}
377-
uses: ./.github/actions/test_macvim_artifacts
378-
with:
379-
artifact-name: ${{ format('{0}-{1}', inputs.os, inputs.xcode) }}
380-
381-
- name: Build Vim test binaries
382-
run: |
383-
# Build the unit test binaries first. With link-time-optimization they take some time to link. Running them
384-
# separately de-couples them from the timeout in tests, and allow us to build in parallel jobs (since tests
385-
# can't run in parallel).
386-
NPROC=$(getconf _NPROCESSORS_ONLN)
387-
388-
set -o verbose
389-
make ${MAKE_BUILD_ARGS} -j${NPROC} -C src unittesttargets
390-
391-
- name: Test Vim
392-
if: startsWith(github.ref, 'refs/tags/') || !inputs.testgui
393-
timeout-minutes: 30
394-
run: |
395-
defaults delete org.vim.MacVim # Clean up stale states
396-
# Currently we don't run any non-src tests, as syntax tests are fragile and prone to spamming escape codes.
397-
# This needs to be investigated and fixed upstream.
398-
# MacVim is unlikely to introduce breaking changes in runtime files anyway.
399-
make ${MAKE_BUILD_ARGS} -C src test
400-
401-
- name: Test Vim (GUI)
402-
if: startsWith(github.ref, 'refs/tags/') || inputs.testgui
403-
timeout-minutes: 30
404-
run: |
405-
defaults delete org.vim.MacVim # Clean up stale states
406-
make ${MAKE_BUILD_ARGS} -C src/testdir clean
407-
make ${MAKE_BUILD_ARGS} -C src testgui
364+
#
365+
# - name: Test MacVim
366+
# id: test_macvim
367+
# timeout-minutes: 10
368+
# run: |
369+
# echo '::group::Build MacVim test binaries'
370+
# # Build test binaries in a separate step to allow grouping in the CI output to make the output more concise.
371+
# make ${MAKE_BUILD_ARGS} -C src macvim-tests-binaries
372+
# echo '::endgroup::'
373+
# make ${MAKE_BUILD_ARGS} -C src macvim-tests
374+
#
375+
# - name: Upload failed MacVim test results
376+
# if: ${{ !cancelled() && failure() && steps.test_macvim.conclusion == 'failure' }}
377+
# uses: ./.github/actions/test_macvim_artifacts
378+
# with:
379+
# artifact-name: ${{ format('{0}-{1}', inputs.os, inputs.xcode) }}
380+
#
381+
# - name: Build Vim test binaries
382+
# run: |
383+
# # Build the unit test binaries first. With link-time-optimization they take some time to link. Running them
384+
# # separately de-couples them from the timeout in tests, and allow us to build in parallel jobs (since tests
385+
# # can't run in parallel).
386+
# NPROC=$(getconf _NPROCESSORS_ONLN)
387+
#
388+
# set -o verbose
389+
# make ${MAKE_BUILD_ARGS} -j${NPROC} -C src unittesttargets
390+
#
391+
# - name: Test Vim
392+
# if: startsWith(github.ref, 'refs/tags/') || !inputs.testgui
393+
# timeout-minutes: 30
394+
# run: |
395+
# defaults delete org.vim.MacVim # Clean up stale states
396+
# # Currently we don't run any non-src tests, as syntax tests are fragile and prone to spamming escape codes.
397+
# # This needs to be investigated and fixed upstream.
398+
# # MacVim is unlikely to introduce breaking changes in runtime files anyway.
399+
# make ${MAKE_BUILD_ARGS} -C src test
400+
#
401+
# - name: Test Vim (GUI)
402+
# if: startsWith(github.ref, 'refs/tags/') || inputs.testgui
403+
# timeout-minutes: 30
404+
# run: |
405+
# defaults delete org.vim.MacVim # Clean up stale states
406+
# make ${MAKE_BUILD_ARGS} -C src/testdir clean
407+
# make ${MAKE_BUILD_ARGS} -C src testgui
408408

409409
- name: Upload failed test files
410410
if: ${{ !cancelled() && failure() }}

0 commit comments

Comments
 (0)