Commit: CI: Keep the GTK4 job from affecting the other jobs

Christian Brabandt <[email protected]> Tue, 11 Aug 2026 22:00:05 +0200
Newsgroups gmane.editors.vim.devel
Message-ID <[email protected]>
CI: Keep the GTK4 job from affecting the other jobs

Commit: https://github.com/vim/vim/commit/c6b041c6391e0a6211458af22f669ef5f4457487
Author: Hirohito Higashi <[email protected]>
Date:   Tue Aug 11 19:49:28 2026 +0000

    CI: Keep the GTK4 job from affecting the other jobs
    
    The GTK4 job added in 9.2.0931 timed out after 30 minutes on every run. The
    tests did not hang, they were retried: 82 test functions failed under GTK4
    against two in the otherwise identical GTK3 job, and runtest.vim runs a flaky
    test up to five times with a sleep in between.
    
    Raising the Test step timeout from 20 to 30 minutes for this made it apply to
    every other job as well. Once the columns are no longer lost when a window is
    split the job needs about sixteen minutes, so put the limit back to 20.
    
    Twelve tests still fail, among them Test_hlsearch_clipboard and
    Test_popup_select, which need a working clipboard; this is the only job that
    runs a Wayland compositor. Let the job fail without failing the workflow
    until that is sorted out. The Build step stays blocking, so a broken GTK4
    build is still reported.
    
    Also drop coverage from the job. The GTK3 job runs the same "make testgui"
    with coverage enabled, so the instrumentation only makes this job slower.
    
    closes: #21007
    
    Signed-off-by: Hirohito Higashi <[email protected]>
    Signed-off-by: Christian Brabandt <[email protected]>

diff --git a/.github/workflows/ci-linux.yml b/.github/workflows/ci-linux.yml
index 57e197a61..841acb96a 100644
--- a/.github/workflows/ci-linux.yml
+++ b/.github/workflows/ci-linux.yml
@@ -70,7 +70,6 @@ jobs:
             extra: [uchar, testgui]
           - features: huge
             compiler: gcc
-            coverage: true
             interface: dynamic
             extra: [uchar, testgui, use_gtk4]
           - features: huge
@@ -108,7 +107,11 @@ jobs:
           coverage: ${{ matrix.coverage }}
 
       - name: Test
-        timeout-minutes: 30
+        timeout-minutes: 20
+        # The GTK4 GUI is not stable enough yet to block the other jobs: it
+        # is the only job that runs a Wayland compositor, which makes
+        # 'clipboard' behave differently.
+        continue-on-error: ${{ contains(matrix.extra, 'use_gtk4') }}
         run: make ${SHADOWOPT} ${TEST}
 
       # Enable to debug failing tests live and ssh into the CI runners

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1wtsdp-007cn6-MP%40256bit.org.