ci(pyprof): update ci configurations #2
Annotations
1 error, 1 warning, and 5 notices
Coverage comment
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/tmpdt_gzag5')' 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 '/home/runner/work/pyprof/pyprof/pyprof/__init__.py': No source for code: '/home/runner/work/pyprof/pyprof/pyprof/__init__.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 '/home/runner/work/pyprof/pyprof/pyprof/prof_proxy.py': No source for code: '/home/runner/work/pyprof/pyprof/pyprof/prof_proxy.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 '/home/runner/work/pyprof/pyprof/pyprof/pyprof.py': No source for code: '/home/runner/work/pyprof/pyprof/pyprof/pyprof.py'. (couldnt-parse)
coverage._warn(msg, slug="couldnt-parse")
No data to report.
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-python@v4. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
Coverage comment
Starting action
|
Coverage comment
HTTP Request: GET https://api.github.com/repos/lizeyan/pyprof "HTTP/1.1 200 OK"
|
Coverage comment
Computing coverage files & badge
|
Coverage comment
HTTP Request: GET https://img.shields.io/static/v1?label=Coverage&message=100%25&color=brightgreen "HTTP/1.1 200 OK"
|
Coverage comment
Generating HTML coverage report
|
Loading