diff --git a/tools/bin/go_core_tests b/tools/bin/go_core_tests index 0fffcb72a39..eab4af76931 100755 --- a/tools/bin/go_core_tests +++ b/tools/bin/go_core_tests @@ -8,10 +8,7 @@ EXTRA_FLAGS="" echo "Test execution results: ---------------------" echo "" -if [[ $GITHUB_EVENT_NAME == "schedule" ]]; then - EXTRA_FLAGS="-covermode=atomic -coverpkg=./... -coverprofile=coverage.txt" -fi -go test "$EXTRA_FLAGS" $1 | tee $OUTPUT_FILE | grep -Ev '\[no test files\]|\[no tests to run\]' +go test -covermode=atomic -coverpkg=./... -coverprofile=coverage.txt $1 | tee $OUTPUT_FILE | grep -Ev '\[no test files\]|\[no tests to run\]' EXITCODE=${PIPESTATUS[0]} # Assert no known sensitive strings present in test logger output