Skip to content

Commit

Permalink
Excluding acceptancetests folder from running unit tests in scripts/u…
Browse files Browse the repository at this point in the history
…nittest.sh
  • Loading branch information
tmeckel committed Jun 28, 2020
1 parent 9660e17 commit 924eedc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/unittest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,5 @@ set -euo pipefail
info "Executing unit tests"
(
cd "$SOURCE_DIR"
go test -tags "${*:-all}" -v ./... || fatal "Build finished in error due to failed tests"
go test -tags "${*:-all}" -v $(go list ./... | grep -v acceptancetests) || fatal "Build finished in error due to failed tests"
)

0 comments on commit 924eedc

Please sign in to comment.