diff --git a/dev/Project.toml b/dev/Project.toml new file mode 100644 index 0000000..4fbdc47 --- /dev/null +++ b/dev/Project.toml @@ -0,0 +1,2 @@ +[deps] +Coverage = "a2441757-f6aa-5fb2-8edb-039e3f45d037" diff --git a/dev/coverage.jl b/dev/coverage.jl new file mode 100644 index 0000000..7db91bd --- /dev/null +++ b/dev/coverage.jl @@ -0,0 +1,17 @@ +import Pkg + +Pkg.activate("../") +Pkg.resolve() + +import Coverage + +Pkg.test(coverage = true) + +tested, total = Coverage.process_folder("../") |> Coverage.get_summary + +ratio = tested / total + +Coverage.clean_folder("../") + + +@info "Coverage: $ratio" \ No newline at end of file