Skip to content

Commit

Permalink
docker workflow: compiler 'gcc' not found, so disable tests
Browse files Browse the repository at this point in the history
  • Loading branch information
LeKovr committed Dec 20, 2023
1 parent 0001d01 commit a5ac4ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ $(PRG): $(SOURCES)
"-X main.version=$(APP_VERSION) -X main.repo=$(REPO)" ./cmd/$@

## Build like docker image from scratch
build-standalone: test
build-standalone:
CGO_ENABLED=0 GOOS=${TARGETOS} GOARCH=${TARGETARCH} \
$(GO) build -a -o $(PRG_DEST) \
-ldflags "${LDFLAGS}-X main.version=$(APP_VERSION) -X main.repo=$(REPO)" \
Expand Down Expand Up @@ -144,7 +144,7 @@ test: lint vet coverage.out

# internal target
coverage.out: $(SOURCES)
CGO_ENABLED=1 GIN_MODE=release $(GO) test -tags test -race -covermode=atomic -coverprofile=$@ ./...
GIN_MODE=release $(GO) test -tags test -race -covermode=atomic -coverprofile=$@ ./...

## Open coverage report in browser
cov-html: cov
Expand Down

0 comments on commit a5ac4ea

Please sign in to comment.