diff --git a/.github/codecov.yml b/.github/codecov.yml index dda9ad0..ced4e52 100644 --- a/.github/codecov.yml +++ b/.github/codecov.yml @@ -2,4 +2,7 @@ coverage: status: project: default: - threshold: 0.5% \ No newline at end of file + threshold: 0.5% + patch: + default: + target: 80%coverage: diff --git a/Project.toml b/Project.toml index 297eddb..c332b1e 100644 --- a/Project.toml +++ b/Project.toml @@ -1,7 +1,7 @@ name = "MLJTestInterface" uuid = "72560011-54dd-4dc2-94f3-c5de45b75ecd" authors = ["Anthony D. Blaom "] -version = "0.2.5" +version = "0.2.6" [deps] MLJBase = "a7f614a8-145f-11e9-1d2a-a57a1082229d" diff --git a/src/test.jl b/src/test.jl index 6f81aa7..11f8d53 100644 --- a/src/test.jl +++ b/src/test.jl @@ -133,7 +133,7 @@ function test(model_types, data...; mod=Main, level=2, throw=false, verbosity=1, if level < 1 || level > 2 level = level < 1 ? 1 : 2 - @warn WARN(level) + @warn WARN_LEVEL(level) end nmodels = length(model_types)