mirror of
https://github.com/deadc0de6/dotdrop.git
synced 2026-02-04 15:39:43 +00:00
coverage
This commit is contained in:
3
tests-ng/update-profile-check.sh
vendored
3
tests-ng/update-profile-check.sh
vendored
@@ -13,7 +13,8 @@ ddpath="${cur}/../"
|
||||
export PYTHONPATH="${ddpath}:${PYTHONPATH}"
|
||||
altbin="python3 -m dotdrop.dotdrop"
|
||||
if hash coverage 2>/dev/null; then
|
||||
altbin="coverage run -p --source=dotdrop -m dotdrop.dotdrop"
|
||||
mkdir -p coverages/
|
||||
altbin="coverage run -p --data-file coverages/coverage --source=dotdrop -m dotdrop.dotdrop"
|
||||
fi
|
||||
bin="${DT_BIN:-${altbin}}"
|
||||
# shellcheck source=tests-ng/helpers
|
||||
|
||||
Reference in New Issue
Block a user