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

How to collect coverage using --partitions option in circle CI? #248

Open
ibarrae opened this issue Feb 11, 2021 · 2 comments
Open

How to collect coverage using --partitions option in circle CI? #248

ibarrae opened this issue Feb 11, 2021 · 2 comments

Comments

@ibarrae
Copy link

ibarrae commented Feb 11, 2021

Hi and thanks for the library 🎉

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?

@zentetsukenz
Copy link
Contributor

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.

@jared-mackey
Copy link

Would be awesome if this supported the mix test.coverage command to combine the outputs from multiple partitions.

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

3 participants