aboutsummaryrefslogtreecommitdiff
path: root/test/helpers.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/helpers.lua')
-rw-r--r--test/helpers.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/helpers.lua b/test/helpers.lua
index a7eda60f87..225a4d35b4 100644
--- a/test/helpers.lua
+++ b/test/helpers.lua
@@ -790,10 +790,10 @@ end
function module.isCI(name)
local any = (name == nil)
- assert(any or name == 'github')
+ assert(any or name == 'github' or name == 'cirrus')
local gh = ((any or name == 'github') and nil ~= os.getenv('GITHUB_ACTIONS'))
- return gh
-
+ local cirrus = ((any or name == 'cirrus') and nil ~= os.getenv('CIRRUS_CI'))
+ return gh or cirrus
end
-- Gets the (tail) contents of `logfile`.