Skip to content

Commit

Permalink
Removing MLJ as a test dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
pebeto committed Aug 15, 2023
1 parent 557254b commit b2631d0
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
5 changes: 2 additions & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,15 @@ MLJModelInterface = "e80e1ace-859a-464e-9ed9-23947d8ae3ea"

[compat]
MLFlowClient = "0.4.4"
MLJ = "0.19"
MLJBase = "0.21.11"
MLJModelInterface = "1.9.1"
julia = "1.6"

[extras]
MLFlowClient = "64a0f543-368b-4a9a-827a-e71edb2a0b83"
MLJ = "add582a8-e3ab-11e8-2d5e-e98b27df1bc7"
MLJDecisionTreeInterface = "c6f25543-311c-4c74-83dc-3ea6d1015661"
MLJModels = "d491faf4-2d78-11e9-2867-c94bc002c0b7"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Test", "MLFlowClient", "MLJ", "MLJDecisionTreeInterface"]
test = ["Test", "MLFlowClient", "MLJModels", "MLJDecisionTreeInterface"]
2 changes: 1 addition & 1 deletion test/base.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
end

@testset "save" begin
run = MLJ.save(logger, dtc_machine)
run = MLJBase.save(logger, dtc_machine)
@test typeof(run) == MLFlowRun
@test listartifacts(logger.client, run) |> length == 1
end
Expand Down
5 changes: 4 additions & 1 deletion test/runtests.jl
Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
using Test

using MLJ
using MLJFlow

using MLJBase
using MLJModels
using MLFlowClient
using MLJModelInterface

include("base.jl")
include("types.jl")

0 comments on commit b2631d0

Please sign in to comment.