Closed thbar closed 6 months ago
All of your project config looks correct at first glance.
The only idea I have is to try reproducing this with a new minimum viable umbrella app using the same versions of Elixir/Erlang as in your transport-site
project.
elixir 1.15.5-otp-24
erlang 24.3.4.13
The only idea I have is to try reproducing this with a new minimum viable umbrella app using the same versions of Elixir/Erlang as in your transport-site project.
Yeah I will try to trim down the app and see how it goes. Maybe I'll have to poke into the Mix source to see if I can set some breakpoint and figure things out too. Thanks!
I ultimately found out: the reason is that we were not following (or maybe stopped following at some point for some other reasons) the advice in the middle of the documentation:
Note on umbrella application: If you want to use Excoveralls within an umbrella project, every apps must have test_coverage: [tool: ExCoveralls] in the mix.exs of each app.
It seems to have fixed it! I'll close the issue for now.
Hi!
We're facing an issue recently while running our coverage on https://github.com/etalab/transport-site (open-source app).
The command is
MIX_ENV=test mix coveralls.html --umbrella
.It is a bit hard to diagnose when it was introduced for different reasons (we don't run it automatically, git bisect will need a bit of work to work etc).
What I ultimately found is that running the test command twice will show the issue, when running it only one will not:
The same will work (with faster feedback on that app) with:
Are other people facing that issue? Thanks!