mirror of
https://github.com/go-admin-team/go-admin.git
synced 2026-10-14 01:08:36 +00:00
ci👷: run the sqlite3-tagged database tests on every change
make test builds without the sqlite3 tag, so the lock regression test never ran.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user