From 4063537f5d0b380257975ef2693b98980291afda Mon Sep 17 00:00:00 2001 From: Morten Piibeleht Date: Wed, 3 Jul 2019 14:27:29 +1200 Subject: [PATCH] Disable linkcheck tests They fail intermittently on (Travis) CI, so let's disable them for the time being, so that they would not randomly fail builds. --- test/docchecks.jl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/test/docchecks.jl b/test/docchecks.jl index b132e2344f..a1113af856 100644 --- a/test/docchecks.jl +++ b/test/docchecks.jl @@ -7,6 +7,7 @@ using Documenter.DocChecks: linkcheck using Documenter.Documents @testset "DocChecks" begin + # The linkcheck tests are currently not reliable on CI, so they are disabled. @testset "linkcheck" begin src = md""" [HTTP (HTTP/1.1) success](http://www.google.com) @@ -20,7 +21,7 @@ using Documenter.Documents Documents.walk(Dict{Symbol, Any}(), src) do block doc = Documents.Document(; linkcheck=true) result = linkcheck(block, doc) - @test doc.internal.errors == Set{Symbol}() + @test_skip doc.internal.errors == Set{Symbol}() result end @@ -29,7 +30,7 @@ using Documenter.Documents Documents.walk(Dict{Symbol, Any}(), src) do block linkcheck(block, doc) end - @test doc.internal.errors == Set{Symbol}([:linkcheck]) + @test_skip doc.internal.errors == Set{Symbol}([:linkcheck]) end end