Merged in feature/shorttestsanddirtidy (pull request #26)

Add short tests and Tidy internal directories

* complete the tasks
This commit is contained in:
Michael McGuinness
2025-01-17 12:00:32 +00:00
parent b453f6cb23
commit fa95d733ca
84 changed files with 171 additions and 101 deletions
+8 -4
View File
@@ -5,18 +5,22 @@ version: '3'
vars:
COVERAGE_FILE: "{{.OUT_DIR}}/coverage.out"
INTERNAL: "./internal/..."
API: "./api/..."
PKG: "./pkg/..."
tasks:
mocks:generate:
cmds:
- mockery
unit:short:
deps:
- mocks:generate
cmds:
- go test -short {{.INTERNAL}} {{.API}} {{.PKG}}
unit:nocoverage:
deps:
- mocks:generate
vars:
INTERNAL: "./internal/..."
API: "./api/..."
PKG: "./pkg/..."
cmds:
- mkdir -p {{.OUT_DIR}}
- |