diff --git a/Makefile b/Makefile index 105af07..c21acc5 100644 --- a/Makefile +++ b/Makefile @@ -77,6 +77,11 @@ generate-server: swagger test: @go test ./... -cover +# Run integration tests +.PHONY: integration-test +integration-test: + @go test ./... -cover --tags=integration + # Run tests with race detection and produce coverage output cover: @go test -v -race ./... -coverprofile=coverage.txt -covermode=atomic diff --git a/cmd/frostfs-rest-gw/integration_test.go b/cmd/frostfs-rest-gw/integration_test.go index 0fa56a1..789421d 100644 --- a/cmd/frostfs-rest-gw/integration_test.go +++ b/cmd/frostfs-rest-gw/integration_test.go @@ -1,3 +1,5 @@ +//go:build integration + package main import (