Skip to content

refactor cli usage in tests #1815

refactor cli usage in tests

refactor cli usage in tests #1815

Triggered via pull request October 22, 2024 16:57
Status Failure
Total duration 1m 10s
Artifacts

tests.yml

on: pull_request
Matrix: test-latest-versions
Fit to window
Zoom out
Zoom in

Annotations

50 errors and 3 warnings
test-latest-versions (1.7.0): opslevel/resource_opslevel_check_package_version.go#L300
cannot use opslevel.RefOf(opslevel.CheckResultStatusEnum(planModel.MissingPackageResult.ValueString())) (value of type *"github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum) as *"github.com/opslevel/opslevel-go/v2024".Nullable["github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum] value in assignment
test-latest-versions (1.7.0): opslevel/resource_opslevel_check_package_version.go#L302
cannot use opslevel.RefOf(opslevel.CheckResultStatusEnum("")) (value of type *"github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum) as *"github.com/opslevel/opslevel-go/v2024".Nullable["github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum] value in assignment (typecheck)
test-latest-versions (1.7.0): main.go#L9
could not import github.com/opslevel/terraform-provider-opslevel/opslevel (-: # github.com/opslevel/terraform-provider-opslevel/opslevel
test-latest-versions (1.7.0): opslevel/resource_opslevel_check_package_version.go#L300
cannot use opslevel.RefOf(opslevel.CheckResultStatusEnum(planModel.MissingPackageResult.ValueString())) (value of type *"github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum) as *"github.com/opslevel/opslevel-go/v2024".Nullable["github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum] value in assignment
test-latest-versions (1.7.0): opslevel/resource_opslevel_check_package_version.go#L302
cannot use opslevel.RefOf(opslevel.CheckResultStatusEnum("")) (value of type *"github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum) as *"github.com/opslevel/opslevel-go/v2024".Nullable["github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum] value in assignment) (typecheck)
test-latest-versions (1.7.0): opslevel/resource_opslevel_filter_test.go#L7
could not import github.com/opslevel/terraform-provider-opslevel/opslevel (-: # github.com/opslevel/terraform-provider-opslevel/opslevel
test-latest-versions (1.7.0): opslevel/resource_opslevel_check_package_version.go#L300
cannot use opslevel.RefOf(opslevel.CheckResultStatusEnum(planModel.MissingPackageResult.ValueString())) (value of type *"github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum) as *"github.com/opslevel/opslevel-go/v2024".Nullable["github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum] value in assignment
test-latest-versions (1.7.0): opslevel/resource_opslevel_check_package_version.go#L302
cannot use opslevel.RefOf(opslevel.CheckResultStatusEnum("")) (value of type *"github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum) as *"github.com/opslevel/opslevel-go/v2024".Nullable["github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum] value in assignment) (typecheck)
test-latest-versions (1.7.0)
Process completed with exit code 201.
test-latest-versions (1.7.0)
Cannot open: File exists
test-latest-versions (1.7.0)
Cannot open: File exists
test-latest-versions (1.9.0)
Cannot open: File exists
test-latest-versions (1.7.0)
Cannot open: File exists
test-latest-versions (1.9.0)
Cannot open: File exists
test-latest-versions (1.7.0)
Cannot open: File exists
test-latest-versions (1.7.0)
Cannot open: File exists
test-latest-versions (1.9.0)
Cannot open: File exists
test-latest-versions (1.7.0)
Cannot open: File exists
test-latest-versions (1.9.0)
Cannot open: File exists
test-latest-versions (1.7.0)
Cannot open: File exists
test-latest-versions (1.9.0)
Cannot open: File exists
test-latest-versions (1.7.0)
Cannot open: File exists
test-latest-versions (1.9.0)
Cannot open: File exists
test-latest-versions (1.7.0)
Cannot open: File exists
test-latest-versions (1.9.0)
Cannot open: File exists
test-latest-versions (1.7.0)
Cannot open: File exists
test-latest-versions (1.9.0)
Cannot open: File exists
test-latest-versions (1.9.0)
Cannot open: File exists
test-latest-versions (1.9.0)
Cannot open: File exists
test-latest-versions (1.9.0): opslevel/resource_opslevel_check_package_version.go#L300
cannot use opslevel.RefOf(opslevel.CheckResultStatusEnum(planModel.MissingPackageResult.ValueString())) (value of type *"github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum) as *"github.com/opslevel/opslevel-go/v2024".Nullable["github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum] value in assignment
test-latest-versions (1.9.0): opslevel/resource_opslevel_check_package_version.go#L302
cannot use opslevel.RefOf(opslevel.CheckResultStatusEnum("")) (value of type *"github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum) as *"github.com/opslevel/opslevel-go/v2024".Nullable["github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum] value in assignment (typecheck)
test-latest-versions (1.9.0): main.go#L9
could not import github.com/opslevel/terraform-provider-opslevel/opslevel (-: # github.com/opslevel/terraform-provider-opslevel/opslevel
test-latest-versions (1.9.0): opslevel/resource_opslevel_check_package_version.go#L300
cannot use opslevel.RefOf(opslevel.CheckResultStatusEnum(planModel.MissingPackageResult.ValueString())) (value of type *"github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum) as *"github.com/opslevel/opslevel-go/v2024".Nullable["github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum] value in assignment
test-latest-versions (1.9.0): opslevel/resource_opslevel_check_package_version.go#L302
cannot use opslevel.RefOf(opslevel.CheckResultStatusEnum("")) (value of type *"github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum) as *"github.com/opslevel/opslevel-go/v2024".Nullable["github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum] value in assignment) (typecheck)
test-latest-versions (1.9.0): opslevel/resource_opslevel_filter_test.go#L7
could not import github.com/opslevel/terraform-provider-opslevel/opslevel (-: # github.com/opslevel/terraform-provider-opslevel/opslevel
test-latest-versions (1.9.0): opslevel/resource_opslevel_check_package_version.go#L300
cannot use opslevel.RefOf(opslevel.CheckResultStatusEnum(planModel.MissingPackageResult.ValueString())) (value of type *"github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum) as *"github.com/opslevel/opslevel-go/v2024".Nullable["github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum] value in assignment
test-latest-versions (1.9.0): opslevel/resource_opslevel_check_package_version.go#L302
cannot use opslevel.RefOf(opslevel.CheckResultStatusEnum("")) (value of type *"github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum) as *"github.com/opslevel/opslevel-go/v2024".Nullable["github.com/opslevel/opslevel-go/v2024".CheckResultStatusEnum] value in assignment) (typecheck)
test-latest-versions (1.9.0)
Process completed with exit code 201.
test-latest-versions (1.8.0)
The job was canceled because "_1_7_0" failed.
test-latest-versions (1.8.0)
The operation was canceled.
test-latest-versions (1.8.0)
Cannot open: File exists
test-latest-versions (1.8.0)
Cannot open: File exists
test-latest-versions (1.8.0)
Cannot open: File exists
test-latest-versions (1.8.0)
Cannot open: File exists
test-latest-versions (1.8.0)
Cannot open: File exists
test-latest-versions (1.8.0)
Cannot open: File exists
test-latest-versions (1.8.0)
Cannot open: File exists
test-latest-versions (1.8.0)
Cannot open: File exists
test-latest-versions (1.8.0)
Cannot open: File exists
test-latest-versions (1.8.0)
Cannot open: File exists
test-latest-versions (1.7.0)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
test-latest-versions (1.9.0)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
test-latest-versions (1.8.0)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2