Skip to content

add coverage report generating in pull request #178

add coverage report generating in pull request

add coverage report generating in pull request #178

Triggered via pull request March 4, 2024 21:02
Status Failure
Total duration 4m 54s
Artifacts 5

lint_and_test.yml

on: pull_request
Matrix: Testing
Fit to window
Zoom out
Zoom in

Annotations

2 errors, 9 warnings, and 3 notices
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/latest/config.html#config-run-relative-files
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.12/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: No source for code: '/home/runner/work/adaptix/adaptix/docs/__init__.py'.
Linting
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: extractions/setup-just@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Testing (3.9, py39, true, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: extractions/setup-just@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Testing (3.10, py310, true, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: extractions/setup-just@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Testing (3.12, py312, true, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: extractions/setup-just@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Testing (3.8, py38, true, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: extractions/setup-just@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Testing (3.11, py311, true, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: extractions/setup-just@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Testing (pypy3.10, pypy310, false, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: extractions/setup-just@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Testing (pypy3.9, pypy39, false, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: extractions/setup-just@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Testing (pypy3.8, pypy38, false, ubuntu-latest)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: extractions/setup-just@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Coverage
Starting action
Coverage
HTTP Request: GET https://api.github.com/repos/reagento/adaptix "HTTP/1.1 200 OK"
Coverage
Generating comment for PR

Artifacts

Produced during runtime
Name Size
coverage-3.10 Expired
395 KB
coverage-3.11 Expired
414 KB
coverage-3.12 Expired
413 KB
coverage-3.8 Expired
378 KB
coverage-3.9 Expired
381 KB