From 4a49ec3a25747dc196cf5bb1eab04ad57c4c4ae3 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Wed, 22 Feb 2023 15:28:19 +0000 Subject: [PATCH] CI: additionally run tests with 'stringlabel' tag This checks that no code is assuming things about `labels.Labels` which don't work with the alternate implementation. Co-authored-by: Julien Pivotto Signed-off-by: Bryan Boreham --- .github/workflows/ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e0f5cdf66..d6d79b6fc 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,6 +17,7 @@ jobs: - uses: ./.github/promci/actions/setup_environment - run: make GO_ONLY=1 SKIP_GOLANGCI_LINT=1 - run: go test ./tsdb/ -test.tsdb-isolation=false + - run: go test --tags=stringlabels ./... - run: GOARCH=386 go test ./cmd/prometheus - run: make -C documentation/examples/remote_storage - run: make -C documentation/examples