JuliaCI / Coverage.jl

Take Julia code coverage and memory allocation results, do useful things with them
MIT License
174 stars 68 forks source link

Issue with appveyor #328

Closed CNelias closed 5 months ago

CNelias commented 3 years ago

I included the recommended line

after_test:
- C:\projects\julia\bin\julia -e "using Pkg; Pkg.add(\"Coverage\"); using Coverage; Coveralls.submit(process_folder())"

in my appveyor.yml file, which is not recognized correctly by appveyor and returns the following error:

C:\projects\julia\bin\julia -e "using Pkg; Pkg.add(\"Coverage\"); using Coverage; Codecov.submit(process_folder())"
The system cannot find the path specified.
Command exited with code 1

Did I miss an important detail somehow?

vtjnash commented 3 years ago

It looks the path to Julia changed in the AppVeyor script. Can you submit a PR to fix the README to the current path?

CNelias commented 3 years ago

I would, but I actually don't know the current path. I tried the following, where I thought julia to be in appveyor, but got an error.

C:\Users\appveyor\.julia -e "using Pkg; Pkg.add(\"Coverage\"); using Coverage; Coveralls.submit(process_folder())"
'C:\Users\appveyor\.julia' is not recognized as an internal or external command,
operable program or batch file.
Command exited with code 1
vtjnash commented 3 years ago

C:\julia\bin\julia

pranavvatsa commented 1 year ago

Hey i have updated the README file to the new path. Please do verify my PR. Thanks!