BUG: Ensure coverage comment is properly triggered (#1901) #159
CI.yml
on: push
Matrix: build PST docs
Matrix: run-pytest
a11y-tests (ubuntu-latest, 3.12)
2m 32s
Annotations
2 errors and 6 notices
a11y-tests (ubuntu-latest, 3.12)
Process completed with exit code 255.
|
check 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 '('git', 'push', 'origin', 'python-coverage-comment-action-data')' returned non-zero exit status 128.
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(
^^^^
File "/workdir/coverage_comment/subprocess.py", line 36, in run
raise SubProcessError("\n".join([exc.stderr, exc.stdout])) from exc
coverage_comment.subprocess.SubProcessError: remote: Permission to pydata/pydata-sphinx-theme.git denied to github-actions[bot].
fatal: unable to access 'https://github.com/pydata/pydata-sphinx-theme/': The requested URL returned error: 403
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 391, in save_coverage_data_files
storage.commit_operations(
File "/workdir/coverage_comment/storage.py", line 110, in commit_operations
git.push("origin", branch)
File "/workdir/coverage_comment/subprocess.py", line 73, in _git
raise GitError from exc
coverage_comment.subprocess.GitError
|
check coverage
Starting action
|
check coverage
HTTP Request: GET https://api.github.com/repos/pydata/pydata-sphinx-theme "HTTP/1.1 200 OK"
|
check coverage
Computing coverage files & badge
|
check coverage
HTTP Request: GET https://img.shields.io/static/v1?label=Coverage&message=91%25&color=orange "HTTP/1.1 200 OK"
|
check coverage
Generating HTML coverage report
|
check coverage
Saving coverage files
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
coverage-data-3.12
Expired
|
16.2 KB |
|
lighthouse-results
Expired
|
5.15 MB |
|