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

Update error JSON handling #3654

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Save progress

ca59566
Select commit
Loading
Failed to load commit list.
Open

Update error JSON handling #3654

Save progress
ca59566
Select commit
Loading
Failed to load commit list.
coqbot-app / GitLab CI job test:unit:teardown (branch) failed Nov 7, 2024 in 0s

Test has failed on GitLab CI

This job has failed. If you need to, you can restart it directly in the GitHub interface using the "Re-run" button.

We show below an excerpt from the trace from GitLab starting around the last detected "Error" (the complete trace is available here).

Details

$ ./tmp/codeclimate/cc-test-reporter sum-coverage packages/*/coverage/cc-coverage.json -p 4 -o ./coverage/codeclimate.json
Error: expected 4 parts, received 1 parts
Usage:
  cc-test-reporter sum-coverage [flags]

Flags:
  -o, --output string   output path (default "coverage/codeclimate.json")
  -p, --parts int       total number of parts to sum

Global Flags:
  -d, --debug   run in debug mode

Cleaning up project directory and file based variables
ERROR: Job failed: exit code 255