diff --git a/.gitea/workflows/ci-db.yml b/.gitea/workflows/ci-db.yml index 07265e6..54bd5a1 100644 --- a/.gitea/workflows/ci-db.yml +++ b/.gitea/workflows/ci-db.yml @@ -71,7 +71,9 @@ jobs: done - name: Go — миграции и запросы store working-directory: services/api - run: go test -tags integration -count=1 -v ./internal/dbtest/ ./internal/social/ + # These suites share one database; dbtest also rolls all migrations down + # and cleans orphan catalog rows. Do not run the packages concurrently. + run: go test -p 1 -tags integration -count=1 -v ./internal/dbtest/ ./internal/social/ - name: Go — сквозной сценарий пользователя (newApp на Postgres, Redis, Meilisearch) working-directory: services/api run: go test -tags integration -count=1 -v -run TestUserJourney ./cmd/api/