Skip to content

Add tests for common.go #8072

Add tests for common.go

Add tests for common.go #8072

Triggered via pull request December 12, 2024 13:51
Status Failure
Total duration 9m 31s
Artifacts 1

pr.yml

on: pull_request
license-check  /  License boilerplate check
17s
license-check / License boilerplate check
lint  /  Run golangci-lint
2m 50s
lint / Run golangci-lint
lint  /  Uncommitted changes check - go mod tidy & make gen
3m 36s
lint / Uncommitted changes check - go mod tidy & make gen
build  /  Verify build
1m 57s
build / Verify build
test  /  Unit testing
8m 55s
test / Unit testing
test  /  Authz tests
2m 49s
test / Authz tests
image-build  /  Image build
3m 13s
image-build / Image build
image-build  /  Build Helm chart
3m 18s
image-build / Build Helm chart
image-build  /  Check docker image build
2m 16s
image-build / Check docker image build
security  /  Security Scan
14s
security / Security Scan
compose-migrate  /  docker
2m 34s
compose-migrate / docker
Fit to window
Zoom out
Zoom in

Annotations

11 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#L30
test helper function should start from t.Helper() (thelper)
lint / Run golangci-lint: internal/providers/github/common_test.go#L53
Function TestWaitForRateLimitReset missing the call to method parallel (paralleltest)
lint / Run golangci-lint: internal/providers/github/common_test.go#L143
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#L148
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#L171
Function TestPerformWithRetry missing the call to method parallel (paralleltest)
lint / Run golangci-lint: internal/providers/github/common_test.go#L207
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#L225
unused-receiver: method receiver 'm' is not referenced in method's body, consider removing or renaming it as _ (revive)
lint / Run golangci-lint
issues found
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
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 / 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 / Build Helm chart
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
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~SYSHQM.dockerbuild
30 KB