Skip to content

ci(pyprof): update ci configurations #1

ci(pyprof): update ci configurations

ci(pyprof): update ci configurations #1

Triggered via push March 12, 2024 03:01
Status Failure
Total duration 51s
Artifacts

unittest.yml

on: push
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

7 errors, 1 warning, and 13 notices
test (3.12, 1.8.2)
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/tmprnik0pby')' 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.
test (3.9, 1.8.2)
The job was canceled because "_3_12_1_8_2" failed.
test (3.9, 1.8.2)
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/tmpc4c98p8q')' 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.
test (3.10, 1.8.2)
The job was canceled because "_3_12_1_8_2" failed.
test (3.10, 1.8.2)
The operation was canceled.
test (3.11, 1.8.2)
The job was canceled because "_3_12_1_8_2" failed.
test (3.11, 1.8.2)
The operation was canceled.
test (3.12, 1.8.2)
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/.
test (3.12, 1.8.2)
Starting action
test (3.12, 1.8.2)
HTTP Request: GET https://api.github.com/repos/lizeyan/pyprof "HTTP/1.1 200 OK"
test (3.12, 1.8.2)
Computing coverage files & badge
test (3.12, 1.8.2)
HTTP Request: GET https://img.shields.io/static/v1?label=Coverage&message=100%25&color=brightgreen "HTTP/1.1 200 OK"
test (3.12, 1.8.2)
Generating HTML coverage report
test (3.9, 1.8.2)
Starting action
test (3.9, 1.8.2)
HTTP Request: GET https://api.github.com/repos/lizeyan/pyprof "HTTP/1.1 200 OK"
test (3.9, 1.8.2)
Computing coverage files & badge
test (3.9, 1.8.2)
HTTP Request: GET https://img.shields.io/static/v1?label=Coverage&message=100%25&color=brightgreen "HTTP/1.1 200 OK"
test (3.9, 1.8.2)
Generating HTML coverage report
test (3.10, 1.8.2)
Starting action
test (3.10, 1.8.2)
HTTP Request: GET https://api.github.com/repos/lizeyan/pyprof "HTTP/1.1 200 OK"
test (3.10, 1.8.2)
Computing coverage files & badge