From bb63ecd04882712fb3a073b809b36c539228d1fd Mon Sep 17 00:00:00 2001 From: Thomas Miceli <27960254+thomiceli@users.noreply.github.com> Date: Mon, 2 Mar 2026 15:59:43 +0700 Subject: [PATCH] Remove windows tests in CI for now (#629) --- .github/workflows/go.yml | 2 +- internal/web/test/server.go | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index d460734..bf0a660 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 }} diff --git a/internal/web/test/server.go b/internal/web/test/server.go index b196562..9c543ce 100644 --- a/internal/web/test/server.go +++ b/internal/web/test/server.go @@ -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()) }