From bcc23861b356d9e26f938b117e8be81eab18659c Mon Sep 17 00:00:00 2001 From: Rafael Schouten Date: Wed, 3 Jun 2020 09:55:38 +1000 Subject: [PATCH] dont test docs on windows --- test/runtests.jl | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/test/runtests.jl b/test/runtests.jl index 77726a266..49db6812b 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -9,15 +9,14 @@ include("mode.jl") include("selector.jl") include("methods.jl") include("prettyprinting.jl") -include("plotrecipes.jl") if !Sys.iswindows() include("plotrecipes.jl") -end -# Test documentation -docsetup = quote - using DimensionalData, Random - Random.seed!(1234) + # Test documentation + docsetup = quote + using DimensionalData, Random + Random.seed!(1234) + end + DocMeta.setdocmeta!(DimensionalData, :DocTestSetup, docsetup; recursive=true) + doctest(DimensionalData) end -DocMeta.setdocmeta!(DimensionalData, :DocTestSetup, docsetup; recursive=true) -doctest(DimensionalData)