Skip to content

Improve test coverage for handlers_profile #8263

Improve test coverage for handlers_profile

Improve test coverage for handlers_profile #8263

Triggered via pull request January 8, 2025 13:59
Status Failure
Total duration 11m 10s
Artifacts 1

pr.yml

on: pull_request
license-check  /  License boilerplate check
6s
license-check / License boilerplate check
lint  /  Run golangci-lint
3m 6s
lint / Run golangci-lint
lint  /  Uncommitted changes check - go mod tidy & make gen
3m 45s
lint / Uncommitted changes check - go mod tidy & make gen
build  /  Verify build
2m 3s
build / Verify build
test  /  Unit testing
10m 29s
test / Unit testing
test  /  Authz tests
2m 53s
test / Authz tests
image-build  /  Image build
3m 30s
image-build / Image build
image-build  /  Build Helm chart
3m 33s
image-build / Build Helm chart
image-build  /  Check docker image build
2m 32s
image-build / Check docker image build
security  /  Security Scan
28s
security / Security Scan
compose-migrate  /  docker
2m 42s
compose-migrate / docker
Fit to window
Zoom out
Zoom in

Annotations

2 errors and 11 warnings
lint / Run golangci-lint: internal/controlplane/handlers_profile_test.go#L1176
cyclomatic complexity 18 of func `TestDeleteProfile` is high (> 15) (gocyclo)
lint / Run golangci-lint
issues found
license-check / License boilerplate check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
security / Security Scan
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
build / Verify build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
image-build / Check docker image build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
compose-migrate / docker
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / Authz tests
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint / Run golangci-lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
image-build / Image build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
image-build / Build Helm chart
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint / Uncommitted changes check - go mod tidy & make gen
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
test / Unit testing
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636

Artifacts

Produced during runtime
Name Size
mindersec~minder~NKN9FW.dockerbuild
30.4 KB