mirror of
				https://github.com/3ybactuk/marketplace-go-service-project.git
				synced 2025-10-30 05:53:45 +03:00 
			
		
		
		
	[hw-4] add postgres db
This commit is contained in:
		
							
								
								
									
										3
									
								
								Makefile
									
									
									
									
									
								
							
							
						
						
									
										3
									
								
								Makefile
									
									
									
									
									
								
							| @@ -2,6 +2,7 @@ include make/lint.mk | ||||
| include make/build.mk | ||||
| include make/coverage.mk | ||||
| include make/generate.mk | ||||
| include make/bin-deps.mk | ||||
|  | ||||
| PKGS = $(shell go list ./... | grep -vE 'mock|config|generated|header|document|internal/pb') | ||||
| INTEGRATION_TAG = integration | ||||
| @@ -24,7 +25,7 @@ run-all: | ||||
| .PHONY: .integration-test | ||||
| integration-test: | ||||
| 	ALLURE_OUTPUT_PATH=$(shell pwd)/allure-results ALLURE_OUTPUT_FOLDER=cart go test -v -tags=$(INTEGRATION_TAG) ./cart/tests/integration | ||||
| 	ALLURE_OUTPUT_PATH=$(shell pwd)/allure-results ALLURE_OUTPUT_FOLDER=loms go test -v -tags=$(INTEGRATION_TAG) ./loms/tests/integration | ||||
| 	CGO_ENABLED=0 ALLURE_OUTPUT_PATH=$(shell pwd)/allure-results ALLURE_OUTPUT_FOLDER=loms go test -v -tags=$(INTEGRATION_TAG) ./loms/tests/integration | ||||
|  | ||||
| bench: | ||||
| 	go test -bench=BenchmarkInMemoryRepository -benchmem ./cart/internal/domain/cart/repository -benchtime 3s | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Никита Шубин
					Никита Шубин