excoveralls
excoveralls copied to clipboard
How to collect coverage using --partitions option in circle CI?
Hi and thanks for the library :tada:
I have been trying to run tests in parallel like the following in circle CI:
MIX_TEST_PARTITION=1 mix coveralls --parallel --partitions 2 & MIX_TEST_PARTITION=2 mix coveralls --parallel --partitions 2 & await
But when pushing the results it only shows the one that ended up last. Is there any way to do "merge" both files correctly or is there's something that I could change to do so?
I'm currently stuck trying to partitioning tests with Github action. I think it's currently not possible to split and combine ExCoveralls result right now.
I'm thinking about doing the same with Erlang cover module that they support the partitioning test by resulting the test result to n.coverdata
files where n
is the partition. I think it's possible to do the same with ExCoveralls since it uses Erlang cover under the hood if I understand correctly.
Would be awesome if this supported the mix test.coverage
command to combine the outputs from multiple partitions.