From 9092e1dea7c9c725635786d8d3d3a0d5765c2b14 Mon Sep 17 00:00:00 2001 From: zhangwenjian Date: Wed, 7 Oct 2026 17:40:49 +0800 Subject: [PATCH] =?UTF-8?q?ci=F0=9F=91=B7:=20run=20the=20sqlite3-tagged=20?= =?UTF-8?q?database=20tests=20on=20every=20change?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit make test builds without the sqlite3 tag, so the lock regression test never ran. --- .github/workflows/go.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 76768623..676058c6 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -139,6 +139,12 @@ jobs: - name: Test run: make test + # make test builds without the sqlite3 tag, so the tests that open a real + # sqlite file are skipped by it. These are the ones that prove concurrent + # requests wait for each other instead of failing with "database is locked". + - name: Test (sqlite3 driver) + run: go test -tags sqlite3 -count=1 ./common/database/ + - name: Build run: make build