Skip to content

Commit

Permalink
Allow Windows and Mac users to run visual regression tests in the saf…
Browse files Browse the repository at this point in the history
…ety of their own homes
  • Loading branch information
gustaphe committed Aug 9, 2024
1 parent 098f13f commit 3d2d8ca
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,12 @@ using Latexify
using LaTeXStrings
using Test

is_ci() = parse(Bool, get(ENV, "CI", "false"))

# Run tests
if Sys.islinux()

if ~is_ci() || Sys.islinux()
# Tests that for some reason don't run on Mac or Windows CI go here
@testset "visual regression tests" begin include("visualregression_tests.jl") end
end
@testset "macro test" begin include("macros.jl") end
Expand Down
1 change: 0 additions & 1 deletion test/visualregression_tests.jl
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using Latexify, VisualRegressionTests
is_ci() = parse(Bool, get(ENV, "CI", "false"))
if ~is_ci()
using Gtk
end
Expand Down

0 comments on commit 3d2d8ca

Please sign in to comment.