Update doc.yml #32
Annotations
1 error, 1 warning, and 5 notices
build
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.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('coverage', 'html', '--skip-empty', '--directory', '/tmp/tmp3dd02uef')' 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 88, in action
return save_coverage_data_files(
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workdir/coverage_comment/main.py", line 356, in save_coverage_data_files
files.get_coverage_html_files(coverage_path=config.COVERAGE_PATH)
File "/workdir/coverage_comment/files.py", line 143, in get_coverage_html_files
coverage.generate_coverage_html_files(
File "/workdir/coverage_comment/coverage.py", line 121, in generate_coverage_html_files
subprocess.run(
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.12/site-packages/coverage/report_core.py:115: CoverageWarning: Couldn't parse '/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/icpy/ICP.py': No source for code: '/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/icpy/ICP.py'. (couldnt-parse)
coverage._warn(msg, slug="couldnt-parse")
/usr/local/lib/python3.12/site-packages/coverage/report_core.py:115: CoverageWarning: Couldn't parse '/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/icpy/__init__.py': No source for code: '/opt/hostedtoolcache/Python/3.10.13/x64/lib/python3.10/site-packages/icpy/__init__.py'. (couldnt-parse)
coverage._warn(msg, slug="couldnt-parse")
No data to report.
|
build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, actions/setup-python@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
build
Starting action
|
build
HTTP Request: GET https://api.github.com/repos/jan-glx/ICPy "HTTP/1.1 200 OK"
|
build
Computing coverage files & badge
|
build
HTTP Request: GET https://img.shields.io/static/v1?label=Coverage&message=100%25&color=brightgreen "HTTP/1.1 200 OK"
|
build
Generating HTML coverage report
|