build: CI 添加通过过滤

This commit is contained in:
claude-code-best
2026-04-17 11:33:57 +08:00
parent ac42ce2d67
commit b5c299f5d2
3 changed files with 6 additions and 4 deletions

View File

@@ -24,7 +24,9 @@ jobs:
run: bunx tsc --noEmit
- name: Test with Coverage
run: bun test --coverage --coverage-reporter=lcov
run: |
set -o pipefail
bun test --coverage --coverage-reporter=lcov 2>&1 | grep -vE '^\s*(\(pass\)|\(skip\))' | sed '/^.*\/__tests__\/.*:$/d' | cat -s
- name: Upload coverage to Codecov
uses: codecov/codecov-action@v5