Skip to content

Commit

Permalink
Add blocking integration tests vet target and update collector dep to…
Browse files Browse the repository at this point in the history
… 0.30.0 (open-telemetry#560)

* Fix invalid struct tag in resource metrics

* add integration-vet make target for breaking change detection

* Adopt 0.30 in integration tests
  • Loading branch information
rmfitzpatrick authored Jul 19, 2021
1 parent bc8fd04 commit 99b1809
Show file tree
Hide file tree
Showing 6 changed files with 104 additions and 23 deletions.
6 changes: 5 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -76,9 +76,13 @@ all-pkgs:
all: checklicense impi lint misspell test otelcol

.PHONY: test
test:
test: integration-vet
$(GOTEST) $(GOTEST_OPT) $(ALL_PKGS)

.PHONY: integration-vet
integration-vet:
cd tests && go vet ./...

.PHONY: integration-test
integration-test:
@set -e; for dir in $(ALL_TESTS_DIRS); do \
Expand Down
3 changes: 2 additions & 1 deletion tests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ require (
github.com/signalfx/signalfx-go v1.8.0
github.com/stretchr/testify v1.7.0
github.com/testcontainers/testcontainers-go v0.11.1
go.opentelemetry.io/collector v0.29.0
go.opentelemetry.io/collector v0.30.0
go.opentelemetry.io/collector/model v0.30.0
go.uber.org/zap v1.18.1
gopkg.in/yaml.v2 v2.4.0
)
Expand Down
Loading

0 comments on commit 99b1809

Please sign in to comment.