Skip to content
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

(Regression in 0.2.3) "cover/lcov.info": no such file or directory #12

Closed
skyqrose opened this issue Jun 6, 2022 · 2 comments
Closed

Comments

@skyqrose
Copy link

skyqrose commented Jun 6, 2022

With a dependabot upgrade for the new 0.2.3 version, my project has a new failure in CI:

Adding to lcov file... 
** (File.Error) could not write to file "cover/lcov.info": no such file or directory
    (elixir 1.13.4) lib/file.ex:1054: File.write!/3
    (lcov_ex 0.2.3) lib/lcov_ex.ex:41: anonymous fn/3 in LcovEx.start/2
    (mix 1.13.4) lib/mix/tasks/test.ex:538: Mix.Tasks.Test.do_run/3
    (mix 1.13.4) lib/mix/task.ex:397: anonymous fn/3 in Mix.Task.run_task/3
    (mix 1.13.4) lib/mix/task.ex:451: Mix.Task.run_alias/5
    (mix 1.13.4) lib/mix/cli.ex:84: Mix.CLI.run_task/2
    (elixir 1.13.4) lib/code.ex:1183: Code.require_file/2
Error: Process completed with exit code 1.

Unfortunately it's closed source so I can't link it directly here. It's not an umbrella app, and it is working with v0.2.2.

I believe it could be caused by changing "write" to "append"

(Side note: If this repo had github releases or tags or a changelog for each version, that could have helped me investigate this a little faster.)

@dariodf
Copy link
Owner

dariodf commented Jun 6, 2022

Hi! I have a fix for it in #10. Would you mind giving it a look?

Sorry about it BTW.

@dariodf
Copy link
Owner

dariodf commented Jun 7, 2022

Hi @skyqrose. This issue is already fixed in v0.2.4. Thanks for the report!

@dariodf dariodf closed this as completed Jun 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants