Excluding acceptancetests folder from running unit tests in scripts/unittest.sh
@@ -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"
)
