Skip to content

Commit

Permalink
Run doctests as part of regular testing
Browse files Browse the repository at this point in the history
  • Loading branch information
willtebbutt committed May 14, 2024
1 parent 580c739 commit d628366
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ ChainRulesCore = "1"
DiffRules = "1"
DiffTests = "0.1"
Distributions = "0.25"
Documenter = "1"
ExprTools = "0.1"
FillArrays = "1"
Graphs = "1"
Expand All @@ -50,6 +51,7 @@ AbstractGPs = "99985d1d-32ba-4be9-9821-2ec096f28918"
BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
DiffTests = "de460e47-3fe3-5279-bb4a-814414816d5d"
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
KernelFunctions = "ec8451be-7e33-11e9-00cf-bbf324bd1392"
LogDensityProblemsAD = "996a588d-648d-4e1f-a8f0-a84b347e47b1"
Expand All @@ -62,4 +64,4 @@ Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Turing = "fce5fe82-541a-59a6-adf8-730c64b5f9a0"

[targets]
test = ["AbstractGPs", "BenchmarkTools", "DiffTests", "Distributions", "FillArrays", "KernelFunctions", "LogDensityProblemsAD", "PDMats", "ReverseDiff", "SpecialFunctions", "StableRNGs", "Test", "Turing", "TemporalGPs"]
test = ["AbstractGPs", "BenchmarkTools", "DiffTests", "Distributions", "Documenter", "FillArrays", "KernelFunctions", "LogDensityProblemsAD", "PDMats", "ReverseDiff", "SpecialFunctions", "StableRNGs", "Test", "Turing", "TemporalGPs"]
1 change: 1 addition & 0 deletions test/front_matter.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
using
BenchmarkTools,
DiffRules,
Documenter,
FillArrays,
JET,
LinearAlgebra,
Expand Down
1 change: 1 addition & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ include("front_matter.jl")
include(joinpath("interpreter", "zero_like_rdata.jl"))
include(joinpath("interpreter", "s2s_reverse_mode_ad.jl"))
end
doctest(Tapir)
elseif test_group == "rrules"
include("test_utils.jl")
@testset "rrules" begin
Expand Down

0 comments on commit d628366

Please sign in to comment.