CI/CD: code coverage and bazel improvements

This commit is contained in:
Ramkumar Chinchani
2019-06-26 14:31:43 -07:00
parent 29e955e22b
commit c142daff87
4 changed files with 16 additions and 4 deletions
+6 -2
View File
@@ -1,6 +1,10 @@
OS := $(shell uname -s | tr A-Z a-z)
BINARY_PREFIX_DIRECTORY := $(OS)_amd64_stripped
BAZEL=$(HOME)/bin/bazel
BAZELOPTS= --repository_cache="$$HOME/.bzrepos" \
--test_output=errors \
--noshow_progress \
--noshow_loading_progress
.PHONY: all
all: build check
@@ -31,8 +35,8 @@ init: setup-base update-bazel fmt-bazel
.PHONY: build
build:
${BAZEL} build //...
${BAZEL} test //...
${BAZEL} build ${BAZELOPTS} //...
${BAZEL} test ${BAZELOPTS} //...
.PHONY: check
check: