File tree Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Expand file tree Collapse file tree 2 files changed +5
-10
lines changed Original file line number Diff line number Diff line change 15
15
command : make install-tools
16
16
- run :
17
17
name : Verify
18
- command : make all
18
+ command : make ci
Original file line number Diff line number Diff line change @@ -39,13 +39,10 @@ all-pkgs:
39
39
all-srcs :
40
40
@echo $(ALL_SRC ) | tr ' ' ' \n' | sort
41
41
42
- .DEFAULT_GOAL := addlicense-fmt-impi-vet-lint-goimports-misspell-staticcheck-test
42
+ .DEFAULT_GOAL := all
43
43
44
44
.PHONY : all
45
- all : addlicense-fmt-impi-vet-lint-goimports-misspell-staticcheck-test otelcontribcol
46
-
47
- .PHONY : addlicense-fmt-impi-vet-lint-goimports-misspell-staticcheck-test
48
- addlicense-fmt-impi-vet-lint-goimports-misspell-staticcheck-test : addlicense fmt impi vet lint goimports misspell staticcheck test
45
+ all : addlicense fmt impi vet lint goimports misspell staticcheck test otelcontribcol
49
46
50
47
.PHONY : test
51
48
test :
@@ -56,16 +53,14 @@ benchmark:
56
53
$(GOTEST ) -bench=. -run=notests $(ALL_PKGS )
57
54
58
55
.PHONY : ci
59
- ci : fmt vet lint goimports misspell staticcheck test-with-cover otelcontribcol
60
- $(MAKE ) -C testbed install-tools
61
- $(MAKE ) -C testbed runtests
56
+ ci : all test-with-cover
62
57
63
58
.PHONY : test-with-cover
64
59
test-with-cover :
65
60
@echo Verifying that all packages have test files to count in coverage
66
61
@scripts/check-test-files.sh $(subst github.com/open-telemetry/opentelemetry-collector-contrib/,./,$(ALL_PKGS ) )
67
62
@echo pre-compiling tests
68
- @time go test -i $(ALL_PKGS )
63
+ go test -i $(ALL_PKGS )
69
64
$(GOTEST ) $(GOTEST_OPT_WITH_COVERAGE ) $(ALL_PKGS )
70
65
go tool cover -html=coverage.txt -o coverage.html
71
66
You can’t perform that action at this time.
0 commit comments