GODT-1364: Add windows CI machine for tests, and build

This commit is contained in:
Jakub
2022-01-13 16:48:33 +01:00
committed by Jakub Cuth
parent f7ed3abcfe
commit fc69b9aabb
8 changed files with 144 additions and 45 deletions

View File

@ -175,6 +175,7 @@ func initMocks(t *testing.T) mocks {
cacheFile, err := ioutil.TempFile("", "bridge-store-cache-*.db")
r.NoError(t, err, "could not get temporary file for store cache")
r.NoError(t, cacheFile.Close())
m := mocks{
t: t,
@ -201,6 +202,7 @@ func initMocks(t *testing.T) mocks {
dbFile, err := ioutil.TempFile(t.TempDir(), "bridge-store-db-*.db")
r.NoError(t, err, "could not get temporary file for store db")
r.NoError(t, dbFile.Close())
return store.New(
sentryReporter,