Skip to content

Commit

Permalink
Run doctests as part of normal tests
Browse files Browse the repository at this point in the history
  • Loading branch information
davidanthoff committed Jul 2, 2019
1 parent 3b0291e commit 3b071f2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ julia = "1"
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
Statistics = "10745b16-79ce-11e8-11f9-7d13ad32a3b2"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
TypedTables = "9d95f2ec-7b3d-5a63-8d20-e2491e220bb9"
IndexedTables = "6deec6e2-d858-57c5-ab9b-e6ca5bd20e43"

[targets]
test = ["Statistics", "Test", "DataFrames"]
test = ["Statistics", "Test", "DataFrames", "Documenter", "TypedTables", "IndexedTables"]
5 changes: 5 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ using Query
using QueryOperators
using DataFrames
using DataValues
using Documenter
using Test

struct Person
Expand Down Expand Up @@ -495,4 +496,8 @@ include("test_dplyr-syntax.jl")
include("test_pipesyntax.jl")
include("test_macros.jl")

@testset "Doctesting" begin
@test doctest(Query)
end

end

0 comments on commit 3b071f2

Please sign in to comment.