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

👷 Fix Coveralls parallel reporting #1884

Merged
merged 1 commit into from
Jan 13, 2025

Conversation

AndreMiras
Copy link
Member

Handle aggregated Coveralls reports using the COVERALLS_PARALLEL environment variable and the --finish flag. This prevents duplicate report submissions in the workflow matrix, which sometimes led to 422 "Unprocessable Entity" errors during upload:

Error running coveralls: Could not submit coverage: 422 Client Error:
Unprocessable Entity for url: https://coveralls.io/api/v1/jobs

Also updated the service name to github-actions, as suggested in:

Handle aggregated Coveralls reports using the `COVERALLS_PARALLEL`
environment variable and the `--finish` flag. This prevents duplicate
report submissions in the workflow matrix, which sometimes led to
422 "Unprocessable Entity" errors during upload:
```
Error running coveralls: Could not submit coverage: 422 Client Error:
Unprocessable Entity for url: https://coveralls.io/api/v1/jobs
```

Also updated the service name to `github-actions`, as suggested in:
- lemurheavy/coveralls-public#1607 (comment)
- https://coveralls-python.readthedocs.io/en/latest/usage/configuration.html#github-actions-support
@AndreMiras AndreMiras force-pushed the feature/coveralls_fix branch from 3f0f8a6 to 5f85f6d Compare January 13, 2025 07:47
@AndreMiras AndreMiras merged commit 5070d84 into kivy:master Jan 13, 2025
14 of 16 checks passed
@AndreMiras AndreMiras deleted the feature/coveralls_fix branch January 13, 2025 14:11
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

Successfully merging this pull request may close these issues.

1 participant