Merge branch 'main' of bitbucket.org:aarete/query-orchestration into feature/cognito

This commit is contained in:
parity-error
2025-04-24 06:33:17 -07:00
8 changed files with 900 additions and 918 deletions
+1 -2
View File
@@ -28,8 +28,7 @@ tasks:
fullsuite:
- task: build
- task: lint
- task: test:unit
- task: test:endtoend
- task: test:all
precommit:
- task: lint:short
deps:tidy:
+20 -5
View File
@@ -57,6 +57,18 @@ tasks:
CLI_ARGS: |
-coverpkg={{.INTERNAL}},{{.API}} \
-coverprofile={{.COVERAGE_FILE}}
- task: coverage
silent: true
endtoend:
deps:
- docker:build
cmds:
- go test -count=1 -parallel {{.E2E_PARALLEL}} ./test/...
coverage:
vars:
TMP_FILE: "{{.OUT_DIR}}/coverage.tmp"
FILTER_COVERAGE_FILE: "{{.OUT_DIR}}/filtered_coverage.out"
cmds:
- |
grep -v -E "{{.EXCLUDED_FILES}}" {{.COVERAGE_FILE}} \
> {{.FILTER_COVERAGE_FILE}}
@@ -94,9 +106,12 @@ tasks:
fi
echo "✅ All coverage checks passed!"
silent: true
endtoend:
deps:
- docker:build
all:
cmds:
- go test -count=1 -parallel {{.E2E_PARALLEL}} ./test/...
- mkdir -p {{.OUT_DIR}}
- |
go test -count=1 -parallel {{.UNIT_PARALLEL}} \
-coverpkg={{.INTERNAL}},{{.API}},{{.PKG}} \
-coverprofile={{.COVERAGE_FILE}} \
./...
- task: coverage