Refactor, extend functionality and add examples (#2) #14
ci.yaml
on: push
call_ci
/
Run tests
1m 41s
Matrix: call_ci / Create debian package with dh-virtualenv
Matrix: call_ci / Create debian package with FPM
Matrix: call_ci / Create debian package with wheel and venv
call_ci
/
Create release
0s
Annotations
1 error and 5 notices
|
call_ci / Run tests
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 '('git', 'add', 'htmlcov')' 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/subprocess.py", line 65, in _git
return run(
"git",
...<3 lines>...
**kwargs,
)
File "/workdir/coverage_comment/subprocess.py", line 36, in run
raise SubProcessError("\n".join([exc.stderr, exc.stdout])) from exc
coverage_comment.subprocess.SubProcessError: The following paths are ignored by one of your .gitignore files:
htmlcov
hint: Use -f if you really want to add them.
hint: Disable this message with "git config advice.addIgnoredFile false"
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 93, in action
return save_coverage_data_files(
config=config,
...<2 lines>...
repo_info=repo_info,
)
File "/workdir/coverage_comment/main.py", line 460, in save_coverage_data_files
storage.commit_operations(
~~~~~~~~~~~~~~~~~~~~~~~~~^
operations=operations,
^^^^^^^^^^^^^^^^^^^^^^
git=git,
^^^^^^^^
branch=config.FINAL_COVERAGE_DATA_BRANCH,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
)
^
File "/workdir/coverage_comment/storage.py", line 94, in commit_operations
git.add(str(op.path))
~~~~~~~^^^^^^^^^^^^^^
File "/workdir/coverage_comment/subprocess.py", line 73, in _git
raise GitError from exc
coverage_comment.subprocess.GitError
|
|
call_ci / Run tests
Generating HTML coverage report
|
|
call_ci / Run tests
HTTP Request: GET https://img.shields.io/static/v1?label=Coverage&message=100%25&color=brightgreen "HTTP/1.1 200 OK"
|
|
call_ci / Run tests
Computing coverage files & badge
|
|
call_ci / Run tests
HTTP Request: GET https://api.github.com/repos/EffectiveRange/python-hello "HTTP/1.1 200 OK"
|
|
call_ci / Run tests
Starting action
|