Skip to content

feat: Track code coverage #1

feat: Track code coverage

feat: Track code coverage #1

Triggered via pull request January 24, 2024 05:31
Status Failure
Total duration 28s
Artifacts 1

go.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Lint Go code: controllers/argocd/openshift/clusterconfig_test.go#L100
func `makeTestRoleBinding` is unused (unused)
Lint Go code: test/e2e/suite_test.go#L60
var `cfg` is unused (unused)
Lint Go code: test/e2e/suite_test.go#L205
func `checkIfDeleted` is unused (unused)
Lint Go code: test/e2e/gitopsservice_test.go#L211
ineffectual assignment to err (ineffassign)
Lint Go code: test/e2e/gitopsservice_test.go#L804
ineffectual assignment to err (ineffassign)
Lint Go code: test/e2e/gitopsservice_test.go#L860
ineffectual assignment to err (ineffassign)
Lint Go code: test/e2e/gitopsservice_test.go#L701
SA4031: this nil check is always true (staticcheck)
Lint Go code: test/e2e/gitopsservice_test.go#L696
SA4031(related information): this is the value of dc (staticcheck)
Lint Go code: test/e2e/gitopsservice_test.go#L23
SA1019: "io/ioutil" has been deprecated since Go 1.19: As of Go 1.16, the same functionality is now provided by package io or package os, and those implementations should be preferred in new code. See the specific function documentation for details. (staticcheck)
Lint Go code: test/e2e/argocd_route_test.go#L54
SA1024: cutset contains duplicate characters (staticcheck)
Lint Go code
Restore cache failed: Dependencies file is not found in /home/runner/work/gitops-operator/gitops-operator. Supported file pattern: go.sum
Build
No files were found with the provided path: coverage.out. No artifacts will be uploaded.
Build
Restore cache failed: Dependencies file is not found in /home/runner/work/gitops-operator/gitops-operator. Supported file pattern: go.sum

Artifacts

Produced during runtime
Name Size
Event File Expired
4.46 KB