Skip to content

Commit ccfd1d1

Browse files
committed
Add distributed tuning test
1 parent 99fcbca commit ccfd1d1

File tree

2 files changed

+15
-9
lines changed

2 files changed

+15
-9
lines changed

test/Project.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
[deps]
22
ComputationalResources = "ed09eef8-17a6-5b46-8889-db040fac31e3"
3+
Distributed = "8ba89e20-285c-5b6f-9357-94700520ee1b"
34
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
45
EvoTrees = "f6006082-12f8-11e9-0c9c-0d5d367ab1e5"
56
MLJBase = "a7f614a8-145f-11e9-1d2a-a57a1082229d"

test/runtests.jl

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,17 @@
1-
using MLJParticleSwarmOptimization
2-
using Random
3-
using Test
4-
using ComputationalResources
5-
using Distributions
6-
using EvoTrees
7-
using MLJBase
8-
using MLJTuning
9-
using StableRNGs
1+
using Distributed
2+
addprocs(2)
3+
4+
@everywhere begin
5+
using MLJParticleSwarmOptimization
6+
using Random
7+
using Test
8+
using ComputationalResources
9+
using Distributions
10+
using EvoTrees
11+
using MLJBase
12+
using MLJTuning
13+
using StableRNGs
14+
end
1015

1116
const PSO = MLJParticleSwarmOptimization
1217

0 commit comments

Comments
 (0)