mirror of
https://github.com/mulgadc/spinifex.git
synced 2026-10-15 09:01:31 +00:00
feat: VPC networking v1 — OVN-based virtual networking for EC2 instances
This commit is contained in:
@@ -13,7 +13,7 @@ set -euo pipefail
|
||||
|
||||
PROFILE=""
|
||||
BASE_REF=""
|
||||
THRESHOLD=70
|
||||
THRESHOLD=60
|
||||
|
||||
while [[ $# -gt 0 ]]; do
|
||||
case "$1" in
|
||||
@@ -89,6 +89,12 @@ if [[ "$DIFF_COUNT" -eq 0 ]]; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
MIN_LOC=100
|
||||
if [[ "$DIFF_COUNT" -lt "$MIN_LOC" ]]; then
|
||||
echo "Only $DIFF_COUNT changed lines (< $MIN_LOC) — skipping diff coverage."
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# --- Step 2: Build coverage map from coverprofile ---
|
||||
# Expand line ranges into file:line → covered (0 or 1)
|
||||
awk -v module="$MODULE_PATH" '
|
||||
|
||||
Reference in New Issue
Block a user