Skip to content

Support model evaluation #54

Support model evaluation

Support model evaluation #54

Triggered via pull request December 5, 2024 14:24
Status Failure
Total duration 2m 21s
Artifacts

test.yaml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 3 warnings
test (1.21.x): common/tests/stores.go#L51
cannot use mockdb.NewMockTagStore(t) (value of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockTagStore) as "opencsg.com/csghub-server/builder/store/database".TagStore value in struct literal: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockTagStore does not implement "opencsg.com/csghub-server/builder/store/database".TagStore (missing method FindTag)
test (1.21.x): common/tests/stores.go#L101
impossible type assertion: s.Tag.(*mockdb.MockTagStore)
test (1.21.x)
Process completed with exit code 1.
lint: common/tests/stores.go#L51
cannot use mockdb.NewMockTagStore(t) (value of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockTagStore) as "opencsg.com/csghub-server/builder/store/database".TagStore value in struct literal: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockTagStore does not implement "opencsg.com/csghub-server/builder/store/database".TagStore (missing method FindTag)
lint: common/tests/stores.go#L101
impossible type assertion: s.Tag.(*mockdb.MockTagStore)
lint: builder/store/database/access_token_test.go#L10
could not import opencsg.com/csghub-server/common/tests (-: # opencsg.com/csghub-server/common/tests
lint: common/tests/stores.go#L51
cannot use mockdb.NewMockTagStore(t) (value of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockTagStore) as "opencsg.com/csghub-server/builder/store/database".TagStore value in struct literal: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockTagStore does not implement "opencsg.com/csghub-server/builder/store/database".TagStore (missing method FindTag)
lint: common/tests/stores.go#L101
impossible type assertion: s.Tag.(*mockdb.MockTagStore)
lint: component/wire_gen.go#L21
could not import opencsg.com/csghub-server/common/tests (-: # opencsg.com/csghub-server/common/tests
lint: common/tests/stores.go#L51
cannot use mockdb.NewMockTagStore(t) (value of type *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockTagStore) as "opencsg.com/csghub-server/builder/store/database".TagStore value in struct literal: *"opencsg.com/csghub-server/_mocks/opencsg.com/csghub-server/builder/store/database".MockTagStore does not implement "opencsg.com/csghub-server/builder/store/database".TagStore (missing method FindTag)
lint: common/tests/stores.go#L101
impossible type assertion: s.Tag.(*mockdb.MockTagStore)
lint: component/user.go#L54
c.spaceComponent undefined (type *userComponentImpl has no field or method spaceComponent) (typecheck)
lint: component/user.go#L64
c.repoComponent undefined (type *userComponentImpl has no field or method repoComponent) (typecheck)
test (1.21.x)
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
lint
Restore cache failed: Dependencies file is not found in /home/runner/work/csghub-server/csghub-server. Supported file pattern: go.sum