patch 9.1.1089: tests: No check when tests are run under Github actions
Commit:
https://github.com/vim/vim/commit/6f14ef4b0b4e3cb8406c94ae0fdf4f3bdbd6672e
Author: Christian Brabandt <[email protected]>
Date: Sun Feb 9 17:05:21 2025 +0100
patch 9.1.1089: tests: No check when tests are run under Github actions
Problem: tests: No check when tests are run under Github actions
Solution: Add the CheckGithubActions check command and skip test if
needed
related: #16599
related: actions/runner-images#11512
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/testdir/check.vim b/src/testdir/check.vim
index e67d39ad2..a60dd9085 100644
--- a/src/testdir/check.vim
+++ b/src/testdir/check.vim
@@ -291,4 +291,11 @@ func CheckAllOf(...)
endfor
endfunc
+" Check if running under Github Actions
+command CheckGithubActions call CheckGithubActions()
+func CheckGithubActions()
+ if expand('$GITHUB_ACTIONS') ==# 'true'
+ throw "Skipped: FIXME: this test doesn't work on Github Actions CI"
+ endif
+endfunc
" vim: shiftwidth=2 sts=2 expandtab
diff --git a/src/version.c b/src/version.c
index 7d509361c..28234de1a 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1089,
/**/
1088,
/**/
--
--
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/E1thAC4-00GcjH-Qu%40256bit.org.