github.com/aiven/aiven-go-client@v1.36.0/Makefile (about)

     1  ci: lint
     2  .PHONY: ci
     3  
     4  #################################################
     5  # Bootstrapping for base golang package deps
     6  #################################################
     7  bootstrap:
     8  	go mod download
     9  	curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.21.0
    10  	./bin/golangci-lint --version
    11  
    12  #################################################
    13  # Testing and linting
    14  #################################################
    15  testacc:
    16  	AIVEN_ACC=1 go test -v -count 1 -parallel 20 -ginkgo.v -ginkgo.progress -ginkgo.focus=$(FOCUS) --cover -timeout 30m .
    17  
    18  test:
    19  	go test -v --cover ./... -timeout 15m
    20  
    21  lint:
    22  	./bin/golangci-lint run --no-config -E gofmt --issues-exit-code=0 --timeout=30m ./...