Merged in feature/fullsuite (pull request #16)

Full suite command

* fullsuite

* fixlint
This commit is contained in:
Michael McGuinness
2025-01-13 17:31:30 +00:00
parent 67a50bac0a
commit b9dec0e3fa
3 changed files with 11 additions and 3 deletions
+3 -1
View File
@@ -42,7 +42,9 @@ func (s *Service) submitCreate(ctx context.Context, entity *queryprocessor.Creat
if err != nil {
return uuid.Nil, err
}
defer tx.Rollback(ctx)
defer func() {
_ = tx.Rollback(ctx)
}()
qtx := s.db.Queries.WithTx(tx)
+6 -1
View File
@@ -6,7 +6,7 @@ version: '3'
vars:
CONTEXT: ..
OUT_DIR: out
includes:
deps:
dir: "{{.CONTEXT}}"
@@ -28,6 +28,11 @@ includes:
taskfile: database.yml
tasks:
fullsuite:
deps:
- lint
- test:unit:coverage
- test:integration
generate:
deps:
- db:generate
+2 -1
View File
@@ -34,5 +34,6 @@ func TestQueryRunner(t *testing.T) {
Client: qCfg.Client,
}
queue.Send(ctx, cfg, string(docJson), map[string]types.MessageAttributeValue{})
err = queue.Send(ctx, cfg, string(docJson), map[string]types.MessageAttributeValue{})
assert.Nil(t, err)
}