Skip to content

Commit

Permalink
Add back CI check
Browse files Browse the repository at this point in the history
  • Loading branch information
musm committed Apr 28, 2021
1 parent 141a310 commit c38f3e0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ import GLFW
using ModernGL
include("util.jl")

is_ci() = lowercase(get(ENV, "CI", "")) == "true"
is_ci() = get(ENV, "CI", nothing) == "true"

if true # only do test if not CI... this is for automated testing environments which fail for OpenGL stuff, but I'd like to test if at least including works
if !is_ci() # only do test if not CI... this is for automated testing environments which fail for OpenGL stuff, but I'd like to test if at least including works

GLFW.Init()
# OS X-specific GLFW hints to initialize the correct version of OpenGL
Expand Down

0 comments on commit c38f3e0

Please sign in to comment.