Skip to content

Add tests for common.go #8172

Add tests for common.go

Add tests for common.go #8172

Triggered via pull request December 23, 2024 13:42
Status Failure
Total duration 9m 30s
Artifacts 1

pr.yml

on: pull_request
license-check  /  License boilerplate check
6s
license-check / License boilerplate check
lint  /  Run golangci-lint
2m 44s
lint / Run golangci-lint
lint  /  Uncommitted changes check - go mod tidy & make gen
3m 28s
lint / Uncommitted changes check - go mod tidy & make gen
build  /  Verify build
1m 56s
build / Verify build
test  /  Unit testing
9m 4s
test / Unit testing
test  /  Authz tests
2m 43s
test / Authz tests
image-build  /  Image build
3m 20s
image-build / Image build
image-build  /  Build Helm chart
3m 22s
image-build / Build Helm chart
image-build  /  Check docker image build
2m 18s
image-build / Check docker image build
security  /  Security Scan
16s
security / Security Scan
compose-migrate  /  docker
2m 29s
compose-migrate / docker
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 10 warnings
license-check / License boilerplate check
Process completed with exit code 1.
security / Security Scan
Process completed with exit code 1.
lint / Run golangci-lint: internal/providers/github/common_test.go#L36
test helper function should start from t.Helper() (thelper)
lint / Run golangci-lint: internal/providers/github/common_test.go#L59
Function TestWaitForRateLimitReset missing the call to method parallel (paralleltest)
lint / Run golangci-lint: internal/providers/github/common_test.go#L149
unused-parameter: parameter 'th' seems to be unused, consider removing or renaming it as _ (revive)
lint / Run golangci-lint: internal/providers/github/common_test.go#L154
Range statement for test TestWaitForRateLimitReset missing the call to method parallel in test Run (paralleltest)
lint / Run golangci-lint: internal/providers/github/common_test.go#L176
Function TestPerformWithRetry missing the call to method parallel (paralleltest)
lint / Run golangci-lint: internal/providers/github/common_test.go#L212
Range statement for test TestPerformWithRetry missing the call to method parallel in test Run (paralleltest)
lint / Run golangci-lint: internal/providers/github/common_test.go#L230
unused-receiver: method receiver 'm' is not referenced in method's body, consider removing or renaming it as _ (revive)
lint / Run golangci-lint: internal/providers/github/common_test.go#L234
Function TestListPackagesByRepository missing the call to method parallel (paralleltest)
lint / Run golangci-lint: internal/providers/github/common_test.go#L308
Range statement for test TestListPackagesByRepository missing the call to method parallel in test Run (paralleltest)
lint / Run golangci-lint: internal/providers/github/common_test.go#L333
Function TestGetPackageVersions missing the call to method parallel (paralleltest)
test / Unit testing
Process completed with exit code 2.
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
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
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
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
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~PF2K9Q.dockerbuild
30.6 KB