Skip to content

Improve github action for checks #14

Improve github action for checks

Improve github action for checks #14

Triggered via pull request September 21, 2024 00:24
Status Failure
Total duration 3m 8s
Artifacts 19

CI.yaml

on: pull_request
check-manifest
18s
check-manifest
pre-commit
8s
pre-commit
typing
16s
typing
Build docs and run doctests
43s
Build docs and run doctests
Verify install env
15s
Verify install env
Build & verify package
17s
Build & verify package
Matrix: Test
required-checks-pass
4s
required-checks-pass
Fit to window
Zoom out
Zoom in

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
5.25 KB
Packages
3.1 MB
PyPI README
4.51 KB
coverage-macos-latest-3.10
79.6 KB
coverage-macos-latest-3.11
80.8 KB
coverage-macos-latest-3.12
91.1 KB
coverage-macos-latest-3.8
80.5 KB
coverage-macos-latest-3.9
78.6 KB
coverage-ubuntu-latest-3.10
78.6 KB
coverage-ubuntu-latest-3.11
80.9 KB
coverage-ubuntu-latest-3.12
90.3 KB
coverage-ubuntu-latest-3.8
77.9 KB
coverage-ubuntu-latest-3.9
77.8 KB
coverage-windows-latest-3.10
81.1 KB
coverage-windows-latest-3.11
82.8 KB
coverage-windows-latest-3.12
93.3 KB
coverage-windows-latest-3.8
80.3 KB
coverage-windows-latest-3.9
78 KB
docs
2.9 MB