Skip to content

Commit

Permalink
build: exclude vendor and other previously excluded subpackages
Browse files Browse the repository at this point in the history
Signed-off-by: Ron Evans <[email protected]>
  • Loading branch information
deadprogram committed Jul 6, 2018
1 parent efae8d5 commit a966a22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ci/test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ pushd $PWD/..
COVERAGE_REPORT_LOCATION="./profile.cov"
echo "" > $COVERAGE_REPORT_LOCATION

# Exclude vendor in the same way as Makefile does
EXCLUDING_VENDOR=$(go list ./... | grep -v /vendor/)
# Exclude vendor etc.
EXCLUDING_VENDOR=$(go list ./... | grep -Ev 'vendor|common|client|cli|examples|robeaux')

# Iterate over all non-vendor packages and run tests with coverage
for package in $EXCLUDING_VENDOR; do \
Expand Down

0 comments on commit a966a22

Please sign in to comment.