-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add instructions for coverage reporting using Pkg.test #236
Comments
Related to #9 |
I think that these instructions are already in the README, right? For example, if you look at item 2 under https://github.com/JuliaCI/Coverage.jl/blob/master/README.md#tracking-coverage-with-codecovio, it says:
|
Ugh, I missed it down there... I was talking about the instructions at the top of the readme... Thanks, |
@marekdedic Does this seem better? #248 |
Definitely, thanks! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
the current instructions in the readme say that you should run
julia --code-coverage=user
. While in some cases, this might be applicable, in the case of usingPkg.test()
, this will not work - the coverage won't get reported. You need to use something likejulia --project -e "using Pkg; Pkg.test(; coverage = true);"
I don't know whether to replace the instructions or just add this somehow. However, this way of turning coverage on is actually preferable - if you are using the Julia 1.2.0 test-only dependencies, the only way to invoke tests (AFAIK) is to use
Pkg.test()
- usinginclude("test/runtests.jl")
will not work.The text was updated successfully, but these errors were encountered: