Skip to content

wip - adding tests

wip - adding tests #44

Triggered via push May 1, 2024 20:18
Status Failure
Total duration 42s
Artifacts

main.yml

on: push
Golang CI Lint
24s
Golang CI Lint
Matrix: Tests
Fit to window
Zoom out
Zoom in

Annotations

53 errors and 5 warnings
Tests (5)
undefined: collection
Tests (5)
cannot use database (variable of type *Database) as Database value in argument to validateDatabase
Tests (5)
undefined: collection
Tests (5)
cannot infer T (/home/runner/work/gomongo/gomongo/gomongo/watcher.go:76:29)
Tests (5)
undefined: collection
Tests (5)
cannot use NewDatabase(context.Background(), ConnectionSettings{…}) (value of type Database) as *Database value in assignment
Tests (5)
cannot use NewDatabase(context.Background(), ConnectionSettings{…}) (value of type Database) as *Database value in assignment
Tests (5)
cannot use gomongoDatabase (variable of type *Database) as Database value in argument to NewCollection[DummyStruct]
Tests (5)
cannot use gomongoDatabase (variable of type *Database) as Database value in argument to NewCollection[DummyStruct]
Tests (5)
cannot use dummies (variable of type []DummyStruct) as int value in argument to populateCollectionWithManyFakeDocuments
Golang CI Lint: main.go#L10
could not import github.com/victorguarana/gomongo/gomongo (-: # github.com/victorguarana/gomongo/gomongo
Golang CI Lint: gomongo/watcher.go#L18
undefined: collection
Golang CI Lint: gomongo/watcher.go#L22
cannot use database (variable of type *Database) as Database value in argument to validateDatabase
Golang CI Lint: gomongo/watcher.go#L28
undefined: collection
Golang CI Lint: gomongo/watcher.go#L49
cannot infer T (gomongo/watcher.go:76:29)
Golang CI Lint: gomongo/watcher.go#L76
undefined: collection) (typecheck)
Golang CI Lint: gomongo/changestream.go#L1
: # github.com/victorguarana/gomongo/gomongo [github.com/victorguarana/gomongo/gomongo.test]
Golang CI Lint: gomongo/watcher.go#L18
undefined: collection
Golang CI Lint: gomongo/watcher.go#L22
cannot use database (variable of type *Database) as Database value in argument to validateDatabase
Golang CI Lint: gomongo/watcher.go#L28
undefined: collection
Tests (4.4)
The job was canceled because "_5" failed.
Tests (4.4)
undefined: collection
Tests (4.4)
cannot use database (variable of type *Database) as Database value in argument to validateDatabase
Tests (4.4)
undefined: collection
Tests (4.4)
cannot infer T (/home/runner/work/gomongo/gomongo/gomongo/watcher.go:76:29)
Tests (4.4)
undefined: collection
Tests (4.4)
cannot use NewDatabase(context.Background(), ConnectionSettings{…}) (value of type Database) as *Database value in assignment
Tests (4.4)
cannot use NewDatabase(context.Background(), ConnectionSettings{…}) (value of type Database) as *Database value in assignment
Tests (4.4)
cannot use gomongoDatabase (variable of type *Database) as Database value in argument to NewCollection[DummyStruct]
Tests (4.4)
cannot use gomongoDatabase (variable of type *Database) as Database value in argument to NewCollection[DummyStruct]
Tests (4.4)
cannot use dummies (variable of type []DummyStruct) as int value in argument to populateCollectionWithManyFakeDocuments
Tests (6)
The job was canceled because "_5" failed.
Tests (6)
undefined: collection
Tests (6)
cannot use database (variable of type *Database) as Database value in argument to validateDatabase
Tests (6)
undefined: collection
Tests (6)
cannot infer T (/home/runner/work/gomongo/gomongo/gomongo/watcher.go:76:29)
Tests (6)
undefined: collection
Tests (6)
cannot use NewDatabase(context.Background(), ConnectionSettings{…}) (value of type Database) as *Database value in assignment
Tests (6)
cannot use NewDatabase(context.Background(), ConnectionSettings{…}) (value of type Database) as *Database value in assignment
Tests (6)
cannot use gomongoDatabase (variable of type *Database) as Database value in argument to NewCollection[DummyStruct]
Tests (6)
cannot use gomongoDatabase (variable of type *Database) as Database value in argument to NewCollection[DummyStruct]
Tests (6)
cannot use dummies (variable of type []DummyStruct) as int value in argument to populateCollectionWithManyFakeDocuments
Tests (7)
The job was canceled because "_5" failed.
Tests (7)
undefined: collection
Tests (7)
cannot use database (variable of type *Database) as Database value in argument to validateDatabase
Tests (7)
undefined: collection
Tests (7)
cannot infer T (/home/runner/work/gomongo/gomongo/gomongo/watcher.go:76:29)
Tests (7)
undefined: collection
Tests (7)
cannot use NewDatabase(context.Background(), ConnectionSettings{…}) (value of type Database) as *Database value in assignment
Tests (7)
cannot use NewDatabase(context.Background(), ConnectionSettings{…}) (value of type Database) as *Database value in assignment
Tests (7)
cannot use gomongoDatabase (variable of type *Database) as Database value in argument to NewCollection[DummyStruct]
Tests (7)
cannot use gomongoDatabase (variable of type *Database) as Database value in argument to NewCollection[DummyStruct]
Tests (7)
cannot use dummies (variable of type []DummyStruct) as int value in argument to populateCollectionWithManyFakeDocuments
Tests (5)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Golang CI Lint
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Tests (4.4)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Tests (6)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2
Tests (7)
Failed to restore: "/usr/bin/tar" failed with error: The process '/usr/bin/tar' failed with exit code 2