Improve github action for checks #14
CI.yaml
on: pull_request
check-manifest
18s
pre-commit
8s
typing
16s
Build docs and run doctests
43s
Verify install env
15s
Build & verify package
17s
Matrix: Test
required-checks-pass
4s
Annotations
2 errors and 3 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(
^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.12/subprocess.py", line 571, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '('git', 'fetch', 'origin', 'main', '--depth=1000')' 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: fatal: not a git repository (or any parent up to mount point /github)
Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set).
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 133, in process_pr
added_lines = coverage_module.get_added_lines(git=git, base_ref=base_ref)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workdir/coverage_comment/coverage.py", line 290, in get_added_lines
git.fetch("origin", base_ref, "--depth=1000")
File "/workdir/coverage_comment/subprocess.py", line 73, in _git
raise GitError from exc
coverage_comment.subprocess.GitError
|
required-checks-pass
Process completed with exit code 1.
|
Coverage
Starting action
|
Coverage
HTTP Request: GET https://api.github.com/repos/Diaoul/subliminal "HTTP/1.1 200 OK"
|
Coverage
Generating comment for PR
|
Artifacts
Produced during runtime
Name | Size | |
---|---|---|
Package Metadata
Expired
|
5.25 KB |
|
Packages
Expired
|
3.1 MB |
|
PyPI README
Expired
|
4.51 KB |
|
coverage-macos-latest-3.10
Expired
|
79.6 KB |
|
coverage-macos-latest-3.11
Expired
|
80.8 KB |
|
coverage-macos-latest-3.12
Expired
|
91.1 KB |
|
coverage-macos-latest-3.8
Expired
|
80.5 KB |
|
coverage-macos-latest-3.9
Expired
|
78.6 KB |
|
coverage-ubuntu-latest-3.10
Expired
|
78.6 KB |
|
coverage-ubuntu-latest-3.11
Expired
|
80.9 KB |
|
coverage-ubuntu-latest-3.12
Expired
|
90.3 KB |
|
coverage-ubuntu-latest-3.8
Expired
|
77.9 KB |
|
coverage-ubuntu-latest-3.9
Expired
|
77.8 KB |
|
coverage-windows-latest-3.10
Expired
|
81.1 KB |
|
coverage-windows-latest-3.11
Expired
|
82.8 KB |
|
coverage-windows-latest-3.12
Expired
|
93.3 KB |
|
coverage-windows-latest-3.8
Expired
|
80.3 KB |
|
coverage-windows-latest-3.9
Expired
|
78 KB |
|
docs
Expired
|
2.9 MB |
|