Remove windows tests in CI for now (#629)

This commit is contained in:
Thomas Miceli
2026-03-02 15:59:43 +07:00
committed by GitHub
parent 6a61b720ab
commit bb63ecd048
2 changed files with 5 additions and 1 deletions

View File

@@ -100,7 +100,7 @@ jobs:
strategy:
fail-fast: false
matrix:
os: ["ubuntu-latest", "macOS-latest", "windows-latest"]
os: ["ubuntu-latest", "macOS-latest"]
go: ["1.25"]
database: ["sqlite"]
runs-on: ${{ matrix.os }}

View File

@@ -233,6 +233,10 @@ func Setup(t *testing.T) *Server {
err = db.Setup(databaseDsn)
require.NoError(t, err, "Could not initialize database")
t.Cleanup(func() {
db.Close()
})
if index.IndexEnabled() {
go index.NewIndexer(index.IndexType())
}