Skip to content

Commit 3c5d75b

Browse files
committed
Add code coverage support for Windows and linux platform
1 parent f040e38 commit 3c5d75b

1 file changed

Lines changed: 3 additions & 13 deletions

File tree

.github/workflows/coverage.yml

Lines changed: 3 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -403,27 +403,17 @@ jobs:
403403
# Verify both Linux and Windows coverage files exist
404404
echo "=== Checking coverage files ==="
405405
406-
MISSING_FILES=0
407-
408406
if [ ! -f ".coverage.linux" ]; then
409407
echo "[ERROR] .coverage.linux not found!"
410-
MISSING_FILES=1
411-
else
412-
echo "[OK] Found .coverage.linux"
408+
exit 1
413409
fi
410+
echo "[OK] Found .coverage.linux"
414411
415412
if [ ! -f ".coverage.windows" ]; then
416413
echo "[ERROR] .coverage.windows not found!"
417-
MISSING_FILES=1
418-
else
419-
echo "[OK] Found .coverage.windows"
420-
fi
421-
422-
if [ $MISSING_FILES -eq 1 ]; then
423-
echo ""
424-
echo "[ERROR] Both Linux and Windows coverage files are required for multi-platform coverage!"
425414
exit 1
426415
fi
416+
echo "[OK] Found .coverage.windows"
427417
428418
echo "=== Available coverage files ==="
429419
ls -lh .coverage.*

0 commit comments

Comments
 (0)