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

Circle parallel test: expected 4 parts, received 1 parts #386

Open
efueger opened this issue Feb 4, 2019 · 5 comments
Open

Circle parallel test: expected 4 parts, received 1 parts #386

efueger opened this issue Feb 4, 2019 · 5 comments

Comments

@efueger
Copy link
Member

efueger commented Feb 4, 2019

Repo: https://github.com/bikeindex/bike_index

  • OSS user with CircleCI.
  • When running parallel tests, he's getting:
Error: expected 4 parts, received 1 parts
Usage:
cc-test-reporter sum-coverage [flags]

https://circleci.com/gh/bikeindex/bike_index/29

image


To stop it from erroring, he updated his circle config file to specify 1, but he still needs to be able to report on all expected files.

https://github.com/bikeindex/bike_index/blob/master/.circleci/config.yml
@kylemellander
Copy link

I'm experiencing the same thing

@sanjitsaluja
Copy link

Wow much crickets.

@FlorinPopaCodes
Copy link

You're experiencing this because the documentation here is incomplete.

I got this working by using persist_to_workspace to persist the codeclimate reports and then I've moved the deploy step into a new workflow that's able to join and upload all reports to codeclimate.

@efueger
Copy link
Member Author

efueger commented Mar 19, 2019

Hi @FlorinPopaCodes - thanks for pointing that out!

  • Can you post your config.yml?

I'd love to update our examples to help other users. 👌

@FlorinPopaCodes
Copy link

This should help. FlorinPopaCodes/bike_index@bc2b525 I tested this and it runs and uploads as expected.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants