We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 948eb49 commit b20dc86Copy full SHA for b20dc86
test/TestSys.m
@@ -1,8 +1,9 @@
1
classdef TestSys < matlab.unittest.TestCase
2
3
properties (TestParameter)
4
-fun = {stdlib.isoctave, stdlib.isinteractive, stdlib.has_dotnet, ...
+fun = {stdlib.isoctave, stdlib.has_dotnet, ...
5
stdlib.has_java, stdlib.has_python}
6
+CI = getenv("CI") == "true" || getenv("GITHUB_ACTIONS") == "true"
7
end
8
9
@@ -16,6 +17,10 @@ function test_is_cygwin(tc)
16
17
tc.verifyFalse(stdlib.is_cygwin())
18
19
20
+function test_is_interactive(tc)
21
+tc.verifyNotEqual(stdlib.is_interactive(), tc.CI)
22
+end
23
+
24
function test_is_rosetta(tc)
25
if ismac()
26
tc.verifyClass(stdlib.is_rosetta(), 'logical')
0 commit comments