-
Notifications
You must be signed in to change notification settings - Fork 12
/
runtests.jl
65 lines (49 loc) · 1.33 KB
/
runtests.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
using Distributed
addprocs(2)
using Test
using MLJTuning
using MLJBase
using StableRNGs
# Display Number of processes and if necessary number
# of Threads
@info "nworkers: $(nworkers())"
@info "nthreads: $(Threads.nthreads())"
include("test_utilities.jl")
print("Loading some models for testing...")
# load `Models` module containing models implementations for testing:
include("models.jl") #precompile first in master node
print("\r \r")
@everywhere include("models.jl")
@testset "utilities" begin
@test include("utilities.jl")
end
@testset "selection heuristics" begin
include("selection_heuristics.jl")
end
@testset "tuned_models.jl" begin
@test include("tuned_models.jl")
end
@testset "range_methods" begin
@test include("range_methods.jl")
end
@testset "grid" begin
@test include("strategies/grid.jl")
end
@testset "random search" begin
@test include("strategies/random_search.jl")
end
@testset "Latin hypercube" begin
@test include("strategies/latin_hypercube.jl")
end
@testset "Explicit" begin
@test include("strategies/explicit.jl")
end
@testset "learning curves" begin
@test include("learning_curves.jl")
end
@testset "Serialization" begin
@test include("serialization.jl")
end
# @testset "julia bug" begin
# @test include("julia_bug.jl")
# end