Merged in feature/tableandtests (pull request #119)

Stabilise tests and CNC_1 Sample

* testspeedup

* notyet

* replacebits

* noflake
This commit is contained in:
Michael McGuinness
2025-04-24 13:31:47 +00:00
parent 8b86b2baeb
commit d54c823d77
9 changed files with 901 additions and 922 deletions
+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