Skip to content

Commit

Permalink
30 - Action create must not check db connection
Browse files Browse the repository at this point in the history
  • Loading branch information
raoptimus committed Nov 2, 2023
1 parent 2acec7d commit 63fdd43
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 14 deletions.
3 changes: 3 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,6 @@ RUN go install github.com/boumenot/gocover-cobertura@latest \

ARG GO_LINT_VERSION
RUN wget -O- -nv https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v${GO_LINT_VERSION}

RUN go env -W GOFLAGS=-buildvcs=false && \
go env -W CGO_ENABLED=0
26 changes: 12 additions & 14 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -62,22 +62,20 @@ test-coverage: ## Coverage
-v

test-unit: ## Run only Unit tests
@go env -w GOFLAGS=-buildvcs=false && \
go test $$(go list ./... | grep -v mock) \
-buildvcs=false \
-failfast \
-short \
-timeout=2m \
-v
@go test $$(go list ./... | grep -v mock) \
-buildvcs=false \
-failfast \
-short \
-timeout=2m \
-v

test-integration: ## Run Integration Tests only
@go env -w GOFLAGS=-buildvcs=false && \
@go test $$(go list ./... | grep -v mock) \
-buildvcs=false \
-failfast \
-run Integration \
-tags=integration \
-v
@go test $$(go list ./... | grep -v mock) \
-buildvcs=false \
-failfast \
-run Integration \
-tags=integration \
-v

build-deb: build
@echo "deb package $(PKG_NAME) building..."
Expand Down

0 comments on commit 63fdd43

Please sign in to comment.