Skip to content

refactor(cardinal): consolidate test components #176

refactor(cardinal): consolidate test components

refactor(cardinal): consolidate test components #176

Triggered via pull request December 11, 2024 06:29
Status Failure
Total duration 1m 42s
Artifacts

ci-go.yaml

on: pull_request
Lint (go)
16s
Lint (go)
Unit Test (go)
52s
Unit Test (go)
Validate (Swagger)
42s
Validate (Swagger)
E2E (Nakama)
1m 24s
E2E (Nakama)
Fit to window
Zoom out
Zoom in

Annotations

17 errors and 2 warnings
Lint (go): cardinal/testsuite/components.go#L1
: # pkg.world.dev/world-engine/cardinal/testsuite [pkg.world.dev/world-engine/cardinal/testsuite.test]
Lint (go): cardinal/testsuite/components_test.go#L154
cannot use &LocationComponent{} (value of type *LocationComponent) as "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata value in array or slice literal: *LocationComponent does not implement "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata (missing method Decode)
Lint (go): cardinal/testsuite/components_test.go#L155
cannot use &ValueComponent{} (value of type *ValueComponent) as "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata value in array or slice literal: *ValueComponent does not implement "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata (missing method Decode)
Lint (go): cardinal/testsuite/components_test.go#L156
cannot use &PowerComponent{} (value of type *PowerComponent) as "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata value in array or slice literal: *PowerComponent does not implement "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata (missing method Decode)
Lint (go): cardinal/testsuite/components_test.go#L157
undefined: HealthComponent
Lint (go): cardinal/testsuite/components_test.go#L158
undefined: SpeedComponent
Lint (go): cardinal/testsuite/components_test.go#L159
undefined: TestComponent
Lint (go): cardinal/testsuite/components_test.go#L160
undefined: TestTwoComponent (typecheck)
Lint (go)
issues found
Unit Test (go)
cannot use &LocationComponent{} (value of type *LocationComponent) as "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata value in array or slice literal: *LocationComponent does not implement "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata (missing method Decode)
Unit Test (go)
cannot use &ValueComponent{} (value of type *ValueComponent) as "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata value in array or slice literal: *ValueComponent does not implement "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata (missing method Decode)
Unit Test (go)
cannot use &PowerComponent{} (value of type *PowerComponent) as "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata value in array or slice literal: *PowerComponent does not implement "pkg.world.dev/world-engine/cardinal/types".ComponentMetadata (missing method Decode)
Unit Test (go)
undefined: HealthComponent
Unit Test (go)
undefined: SpeedComponent
Unit Test (go)
undefined: TestComponent
Unit Test (go)
undefined: TestTwoComponent
Unit Test (go)
Process completed with exit code 2.
Validate (Swagger)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Validate (Swagger)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2