[#599] Makefile: Remove test_dep target

Flag `-i` is deprecated in go1.16 and it
has pretty much no effect since go1.10 when
build cache was introduced. Read more about
this at https://golang.org/doc/go1.16

Signed-off-by: Alex Vanin <alexey@nspcc.ru>
support/v0.27
Alex Vanin 2021-06-09 15:28:23 +03:00 committed by Alex Vanin
parent 68e85e4b33
commit c973aac891
2 changed files with 1 additions and 10 deletions

View File

@ -35,9 +35,6 @@ jobs:
restore-keys: |
${{ runner.os }}-go-${{ matrix.go }}-
- name: Get test dependencies
run: make test_dep
- name: Run go test
run: go test -coverprofile=coverage.txt -covermode=atomic ./...

View File

@ -49,12 +49,6 @@ dep:
GO111MODULE=on \
go mod tidy -v && echo OK
test_dep:
@printf "⇒ Install test requirements: "
CGO_ENABLED=0 \
GO111MODULE=on \
go test -i ./... && echo OK
# Regenerate proto files:
protoc:
@GOPRIVATE=github.com/nspcc-dev go mod vendor
@ -99,7 +93,7 @@ imports:
@GO111MODULE=on goimports -w cmd/ pkg/ misc/
# Run Unit Test with go test
test: test_dep
test:
@echo "⇒ Running go test"
@GO111MODULE=on go test ./...