diff options
author | Ethan Koenig <etk39@cornell.edu> | 2017-05-24 12:13:18 -0400 |
---|---|---|
committer | Bo-Yi Wu <appleboy.tw@gmail.com> | 2017-05-25 00:13:18 +0800 |
commit | ff96bda138fce51805acacfaeb92063be11cd38e (patch) | |
tree | d4ce67691f8007eb27c3184409d18271e5178d24 /Makefile | |
parent | 19d889daa248822ecf6404ecdc426bf2b3e4f78e (diff) | |
download | gitea-ff96bda138fce51805acacfaeb92063be11cd38e.tar.gz gitea-ff96bda138fce51805acacfaeb92063be11cd38e.zip |
Only run coverage on merges/pushes to master (#1783)
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -80,6 +80,10 @@ integrations: build .PHONY: test test: + go test $(PACKAGES) + +.PHONY: test-coverage +test-coverage: for PKG in $(PACKAGES); do go test -cover -coverprofile $$GOPATH/src/$$PKG/coverage.out $$PKG || exit 1; done; .PHONY: test-vendor |