Skip to content

Commit

Permalink
test(fix): do not run interactive app tests on GitHub
Browse files Browse the repository at this point in the history
  • Loading branch information
mfacchinelli committed Sep 20, 2024
1 parent 8fc6b28 commit 9ed4f01
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tests/system/app/tDataVisualization.m
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

methods (TestClassSetup)

% Skip tests on GitHub CI runner.
function skipOnGitHub(testCase)
testCase.assumeTrue(isempty(getenv("GITHUB_ACTIONS")), "Tests cannot run on GitHub CI runner.");
end

% Close all figures opened by test.
function closeTestFigures(testCase)
testCase.applyFixture(mag.test.fixture.CleanupFigures());
Expand Down

0 comments on commit 9ed4f01

Please sign in to comment.