-
-
Notifications
You must be signed in to change notification settings - Fork 24
Expand file tree
/
Copy pathMakefile
More file actions
21 lines (16 loc) · 546 Bytes
/
Makefile
File metadata and controls
21 lines (16 loc) · 546 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
NO_COLOR=\033[0m
OK_COLOR=\033[32;01m
ERROR_COLOR=\033[31;01m
WARN_COLOR=\033[33;01m
SERVICE_NAME=dna-srv
.PHONY: all test lint
all: test
test:
@echo "$(OK_COLOR)==> Running tests$(NO_COLOR)"
@go test -v -cover -covermode=atomic -coverprofile=tests.out ./...
test-integration:
@echo "$(OK_COLOR)==> Running tests$(NO_COLOR)"
@go test --tags=integration -v -cover -covermode=atomic -coverprofile=tests.out ./...
setup:
@echo "$(OK_COLOR)==> Setting up deps$(NO_COLOR)"
@awslocal kinesis create-stream --stream-name test --shard-count 1