Skip to content

Test coverage

Test coverage #61

Triggered via pull request August 21, 2024 05:52
Status Failure
Total duration 3m 27s
Artifacts

pr-build.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 errors, 4 warnings, and 3 notices
tests
Cannot open: File exists
tests
Cannot open: File exists
tests
Cannot open: File exists
tests
Cannot open: File exists
tests
Cannot open: File exists
tests
Cannot open: File exists
tests
Cannot open: File exists
tests
Cannot open: File exists
tests
Cannot open: File exists
tests
Cannot open: File exists
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( ^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.12/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, 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 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 127, in process_pr _, coverage = coverage_module.get_coverage_info( ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/workdir/coverage_comment/coverage.py", line 99, 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 data to report.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: docker/build-push-action@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
tests
The following actions use a deprecated Node.js version and will be forced to run on node20: golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
tests
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
tests
Restore cache failed: Dependencies file is not found in /home/runner/work/crAPI/crAPI. Supported file pattern: go.sum
tests
Starting action
tests
HTTP Request: GET https://api.github.com/repos/OWASP/crAPI "HTTP/1.1 200 OK"
tests
Generating comment for PR