
Align running the code coverage upload with other workflows by executing it from a Makefile target. Update the current GitHub workflow to call this new target. Signed-off-by: Ivan Valdes <ivan@vald.es>
10 lines
268 B
Bash
Executable File
10 lines
268 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
# Script used to collect and upload test coverage (mostly by travis).
|
|
# Usage ./test_coverage_upload.sh [log_file]
|
|
|
|
set -o pipefail
|
|
|
|
# We try to upload whatever we have:
|
|
bash <(curl -s https://codecov.io/bash) -f ./covdir/all.coverprofile -cF all
|