Skip to content

Commit

Permalink
Improving testability by setting up an env variable with the mlflow s…
Browse files Browse the repository at this point in the history
…erver URI
  • Loading branch information
pebeto committed Oct 13, 2023
1 parent f8600d7 commit a61528c
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,16 @@ using MLFlowClient
using MLJModelInterface
using StatisticalMeasures

# To run this tests, you need to set the URI of your MLFlow server. By default,
# you can set:
#
# ENV["MLFLOW_URI"] = "http://localhost:5000"
#
# For more information, see https://mlflow.org/docs/latest/quickstart.html#view-mlflow-runs-and-experiments
if ~haskey(ENV, "MLFLOW_URI")
error("WARNING: MLFLOW_URI is not set. To run this tests, you need to set the URI of your MLFlow server")

This comment has been minimized.

Copy link
@ablaom

ablaom Oct 16, 2023

Member

To run this tests should be To run these tests

end

include("base.jl")
include("types.jl")
include("service.jl")
Expand Down

0 comments on commit a61528c

Please sign in to comment.