/buildkite-test-analytics-go

Golang support for Buildkite Test Analytics

Primary LanguageGoMIT LicenseMIT

Buildkite Test Analytics Golang

A go client for sending test results to Buildkite Test Analytics.

The go test tool outputs a stream of test events, so they can be streamed to Buildkite.

Usage

go test -json ./... | buildkite-test-analytics-go \
  --api-token "$BUILDKITE_ANALYTICS_TOKEN" \
  --key "$BUILDKITE_BUILD_ID"