Skip to content

Commit

Permalink
catch Coverage.jl from dev project rather than the main environment
Browse files Browse the repository at this point in the history
  • Loading branch information
jbytecode committed Mar 8, 2024
1 parent d2aba6a commit 7f5cf8e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions dev/coverage.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@
# > julia coverage.jl
# in terminal

import Coverage
import Pkg

Pkg.activate("../")
Pkg.resolve()

import Coverage

Pkg.test(coverage = true)

tested, total = Coverage.process_folder("../") |> Coverage.get_summary
Expand All @@ -17,4 +18,4 @@ ratio = tested / total
Coverage.clean_folder("../")


@info "Coverate: $ratio"
@info "Coverage: $ratio"

0 comments on commit 7f5cf8e

Please sign in to comment.