diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 5c2d7d1f6..762a49a31 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -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 ./... diff --git a/Makefile b/Makefile index 0ec60d83a..5b2d3a239 100644 --- a/Makefile +++ b/Makefile @@ -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 ./...