mirror of
https://github.com/hanzoai/traces.git
synced 2026-10-30 18:20:41 +00:00
* Add test to reproduce otlp http 500s * Bad merge * Add scary test * Update dependencies to use juraci's collector fork and fix * Fix mario tests regarding otlp http limits * vendor latest collector Signed-off-by: Jesus Vazquez <[email protected]> --------- Signed-off-by: Jesus Vazquez <[email protected]> Co-authored-by: Mario <[email protected]>
28 lines
435 B
YAML
28 lines
435 B
YAML
version: '3'
|
|
|
|
tasks:
|
|
default:
|
|
deps: [test]
|
|
|
|
lint:
|
|
desc: Checks code style
|
|
cmds:
|
|
- gofmt -d -s *.go
|
|
- go vet ./...
|
|
silent: true
|
|
|
|
lint-fix:
|
|
desc: Fixes code style
|
|
cmds:
|
|
- gofmt -w -s *.go
|
|
|
|
test:
|
|
desc: Runs go tests
|
|
cmds:
|
|
- go test -race ./...
|
|
|
|
test-coverage:
|
|
desc: Runs go tests and calculates test coverage
|
|
cmds:
|
|
- go test -race -coverprofile=c.out ./...
|