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

Attempt to remove workaround for coveralls #171

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Add debug statements

b65ae50
Select commit
Loading
Failed to load commit list.
Draft

Attempt to remove workaround for coveralls #171

Add debug statements
b65ae50
Select commit
Loading
Failed to load commit list.
Cirrus CI / test (freebsd - 3.9) failed May 7, 2024 in 1m 50s

Task Summary

Instruction submit_coverage failed in 00:10

Details

⚠️ Not enough compute credits to prioritize tasks!

✅ 00:00 clone
✅ 00:36 install
✅ 00:01 debug_information
✅ 00:01 prepare
✅ 00:02 pip
✅ 00:01 pre_commit
✅ 00:01 dist
✅ 00:01 test_files
✅ 00:46 test
❌ 00:10 submit_coverage

pipx run coverage xml -o coverage.xml
creating virtual environment...
creating shared libraries...
upgrading shared libraries...
installing coverage...
Wrote XML report to coverage.xml
pipx run coveralls --submit coverage.xml
creating virtual environment...
installing coveralls...
Error running coveralls: Could not submit coverage: 422 Client Error: Unprocessable Entity for url: https://coveralls.io/api/v1/jobs
Traceback (most recent call last):
  File "/.local/pipx/.cache/4af73f495a6a0cc/lib/python3.9/site-packages/coveralls/api.py", line 298, in submit_report
    response.raise_for_status()
  File "/.local/pipx/.cache/4af73f495a6a0cc/lib/python3.9/site-packages/requests/models.py", line 1021, in raise_for_status
    raise HTTPError(http_error_msg, response=self)
requests.exceptions.HTTPError: 422 Client Error: Unprocessable Entity for url: https://coveralls.io/api/v1/jobs

The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File "/.local/pipx/.cache/4af73f495a6a0cc/lib/python3.9/site-packages/coveralls/cli.py", line 88, in main
    coverallz.submit_report(report_file.read())
  File "/.local/pipx/.cache/4af73f495a6a0cc/lib/python3.9/site-packages/coveralls/api.py", line 301, in submit_report
    raise CoverallsException(
coveralls.exception.CoverallsException: Could not submit coverage: 422 Client Error: Unprocessable Entity for url: https://coveralls.io/api/v1/jobs