Enchantrix/Taskfile.yml
google-labs-jules[bot] 4f83430aa4 fix(tests): Configure test coverage for tdd/ directory
Updates the `Taskfile.yml` to include the `tdd/` directory's tests in the coverage calculation for the `pkg/` directory by using the `-coverpkg` flag. This ensures that the coverage reports accurately reflect the state of the codebase.

Also, this commit includes the necessary environment configuration to fix a known issue in Go 1.25 that caused the `go: no such tool "covdata"` error.
2025-11-02 22:38:00 +00:00

12 lines
297 B
YAML

version: '3'
tasks:
test:
desc: "Run all tests"
cmds:
- go test -v -coverpkg=github.com/Snider/Enchantrix/pkg/crypt,github.com/Snider/Enchantrix/pkg/enchantrix,github.com/Snider/Enchantrix/pkg/trix ./...
build:
desc: "Build the project"
cmds:
- go build -v ./...