etcd/scripts/codecov_upload.sh
Ivan Valdes 6c866548dc
codecov: improve coverage upload
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>
2025-02-07 14:21:26 -08:00

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