feat: add extension for the /published/ route #672
Annotations
2 errors and 4 notices
|
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(
~~~~~~~~~~~~~~^
args,
^^^^^
...<6 lines>...
**kwargs,
^^^^^^^^^
).stdout
^
File "/usr/local/lib/python3.14/subprocess.py", line 577, in run
raise CalledProcessError(retcode, process.args,
output=stdout, stderr=stderr)
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 46, in main
exit_code = action(
config=config,
...<2 lines>...
git=git,
)
File "/workdir/coverage_comment/main.py", line 101, in action
return process_pr(
config=config,
gh=gh,
repo_info=repo_info,
)
File "/workdir/coverage_comment/main.py", line 130, in process_pr
_, coverage = coverage_module.get_coverage_info(
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
merge=config.MERGE_COVERAGE_FILES,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
coverage_path=config.COVERAGE_PATH,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/workdir/coverage_comment/coverage.py", line 121, 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: '/github/workspace/auto_release_obs.py'; see https://coverage.readthedocs.io/en/7.13.1/messages.html#error-no-source
|
|
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
Generating comment for PR
|
|
coverage
HTTP Request: GET https://api.github.com/repos/SUSE/osc-tiny "HTTP/1.1 200 OK"
|
|
coverage
VERBOSE setting is deprecated. For increased debug output, see https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/enabling-debug-logging
|
|
coverage
Starting action
|
Artifacts
Produced during runtime
| Name | Size | Digest | |
|---|---|---|---|
|
coverage-3.10
Expired
|
3.08 KB |
sha256:5cbe78f236d26cee5052e2fe33e235e8b3a55b0efbb65283079edf1e204e2289
|
|
|
coverage-3.11
Expired
|
3.08 KB |
sha256:4374dccc11b6d6bbf060209a0cf78f080f33057ae2d502fcd7e0eba79100b8f6
|
|
|
coverage-3.12
Expired
|
3.08 KB |
sha256:1498643f64d2eb23bf7603ff9e5c448bdbd1ea9f7142918b9ea2bdca1bf7a7bb
|
|
|
coverage-3.13
Expired
|
3.08 KB |
sha256:89ee8eca40ee1d73c2a4774490bde53d24676afdef3c748bb86035fdf0b13439
|
|
|
coverage-3.14
Expired
|
3.08 KB |
sha256:672f62a8bbf7683cdb3dbb17ba984f04ecaec546982a0c337960dde14f2d2ee2
|
|
|
coverage-3.8
Expired
|
3.07 KB |
sha256:3118f0450e6a27663abda010d41397e852aac7ddcef3577704ace03459ce3971
|
|
|
coverage-3.9
Expired
|
3.07 KB |
sha256:86deb500f9e6a51c73655f3f988f77efb630a9db545e8ff9212a54f39f5b0693
|
|