Skip to content
Triggered via push January 23, 2024 15:09
Status Failure
Total duration 49s
Artifacts

ci.yml

on: push
Check coverage
38s
Check coverage
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 3 notices
Check coverage
Cannot read .coverage files because files are absolute. You need to configure coverage to write relative paths by adding the following option to your coverage configuration file: [run] relative_files = true Note that the specific format can be slightly different if you're using setup.cfg or pyproject.toml. See details in: https://coverage.readthedocs.io/en/6.2/config.html#config-run-relative-files
Check coverage
Critical error. This error possibly occurred because the permissions of the workflow are set incorrectly. You can see the correct setting of permissions here: https://github.com/py-cov-action/python-coverage-comment-action#basic-usage Otherwise please look for open issues or open one in https://github.com/py-cov-action/python-coverage-comment-action/ Traceback (most recent call last): File "/workdir/coverage_comment/subprocess.py", line 22, in run return subprocess.run( ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '('coverage', 'json', '-o', '-')' returned non-zero exit status 1. The above exception was the direct cause of the following exception: Traceback (most recent call last): File "/workdir/coverage_comment/main.py", line 44, in main exit_code = action( ^^^^^^^ File "/workdir/coverage_comment/main.py", line 96, in action return process_pr( ^^^^^^^^^^^ File "/workdir/coverage_comment/main.py", line 127, in process_pr _, coverage = coverage_module.get_coverage_info( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workdir/coverage_comment/coverage.py", line 99, in get_coverage_info subprocess.run("coverage", "json", "-o", "-", path=coverage_path) File "/workdir/coverage_comment/subprocess.py", line 36, in run raise SubProcessError("\n".join([exc.stderr, exc.stdout])) from exc coverage_comment.subprocess.SubProcessError: /usr/local/lib/python3.11/site-packages/coverage/config.py:324: CoverageWarning: Unrecognized option '[report] relative_files=' in config file .coveragerc warn( No source for code: '/home/runner/work/uhura/uhura/tests/__init__.py'.
Check coverage
Starting action
Check coverage
HTTP Request: GET https://github.com/gitapi/repos/VorTECHsa/uhura "HTTP/1.1 200 OK"
Check coverage
Generating comment for PR