Skip to content

Commit

Permalink
move travis job manual vars into makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
fatihtekin-form3 committed Jul 19, 2021
1 parent 3bc0d6b commit 7948b67
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Default values used by tests
GITHUB_EMAIL ?= foo@form3.tech
GITHUB_USERNAME ?= foo
TF_ACC ?= 1
COMMIT_MESSAGE_PREFIX ?= '[foo]'

default: vet test build

.PHONY: build
Expand All @@ -10,4 +16,8 @@ vet:

.PHONY: test
test:
GITHUB_EMAIL=$(GITHUB_EMAIL) \
GITHUB_USERNAME=$(GITHUB_USERNAME) \
COMMIT_MESSAGE_PREFIX=$(COMMIT_MESSAGE_PREFIX) \
TF_ACC=$(TF_ACC) \
go test -count 1 -v ./...

0 comments on commit 7948b67

Please sign in to comment.