Skip to content

Commit 663bacd

Browse files
author
Bilal Boussayoud
authored
test: add test-docker rule (#182)
* test: add test-docker rule
1 parent b0b4970 commit 663bacd

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Makefile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: githooks install test goimports govet golint docker-build docker-push cover
1+
.PHONY: githooks install test test-docker goimports govet golint docker-build docker-push cover
22

33
githooks:
44
ln -sf ../../githooks/pre-commit .git/hooks/pre-commit
@@ -9,6 +9,10 @@ install:
99
test:
1010
go test -race ./...
1111

12+
test-docker:
13+
docker build -t twilio/twilio-go .
14+
docker run twilio/twilio-go go test -race ./...
15+
1216
cluster-test:
1317
go test -race --tags=cluster
1418

0 commit comments

Comments
 (0)