ksql/run-all-tests.sh

7 lines
267 B
Bash
Executable File

#!/usr/bin/env bash
# Generate the coverate.txt file for all modules:
find . -name go.mod -execdir go test -coverprofile=coverage.txt -covermode=atomic -coverpkg=github.com/vingarcia/ksql ./... \;
# codecov will find all `coverate.txt` files, so it will work fine.