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

Getting strange warning when running mix coveralls #230

Open
michaelst opened this issue Sep 22, 2020 · 2 comments · May be fixed by #239
Open

Getting strange warning when running mix coveralls #230

michaelst opened this issue Sep 22, 2020 · 2 comments · May be fixed by #239

Comments

@michaelst
Copy link

I'm getting this warning after each test which is making a mess of the test logs. It only happens when I run mix coveralls, not mix test

WARNING: Deleting data for module 'Elixir.Genesis.User.External' imported from
["/Users/Michael/Code/genesis-block/genesis-server/Elixir.Genesis.User.External.11536.coverdata",
 "/Users/Michael/Code/genesis-block/genesis-server/Elixir.Genesis.User.External_meck_original.11536.coverdata"]
@omar8792
Copy link

It seems a problem with mock, i have the same warnings when running:

mix test --cover

...................................WARNING: Deleting data for module 'Elixir.Crash.Utils.String' imported from
--
3 | ["/drone/src/Elixir.Crash.Utils.String.9.coverdata",
4 | "/drone/src/Elixir.Crash.Utils.String_meck_original.9.coverdata"]
5 | ....WARNING: Deleting data for module 'Elixir.Crash.Utils.String' imported from
6 | ["/drone/src/Elixir.Crash.Utils.String.9.coverdata",
7 | "/drone/src/Elixir.Crash.Utils.String_meck_original.9.coverdata"]
8 | .......................................................................................................................................................................WARNING: Deleting data for module 'Elixir.Crash.TipologiaDanno' imported from
9 | ["/drone/src/Elixir.Crash.TipologiaDanno.9.coverdata",
10 | "/drone/src/Elixir.Crash.TipologiaDanno_meck_original.9.coverdata"]
11 | WARNING: Deleting data for module 'Elixir.Crash.TipologieDanno' imported from
12 | ["/drone/src/Elixir.Crash.TipologieDanno.9.coverdata",
13 | "/drone/src/Elixir.Crash.TipologieDanno_meck_original.9.coverdata"]
14 | WARNING: Deleting data for module 'Elixir.Crash.TipologiaDanno.Context' imported from



@nelsonic
Copy link

Still seeing the same WARNING: Deleting data for module ...:
https://github.com/dwyl/phoenix-liveview-realtime-cursor-tracking-tutorial/actions/runs/3565374679/jobs/5990451308#step:6:134
image

Shame #239 has the huge/contentious src/quiet_cover.erl file ...
otherwise it would totally solve this issue.

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

Successfully merging a pull request may close this issue.

3 participants