-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodecov.yml
More file actions
32 lines (28 loc) · 1.43 KB
/
Copy pathcodecov.yml
File metadata and controls
32 lines (28 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
coverage:
status:
patch:
default:
target: 90%
threshold: 0%
ignore:
# Test targets and their fixtures drive production behavior, but the
# assertion-only failure branches inside test code are not product coverage.
- "Tests/**"
# AppKit lifecycle wiring and Sparkle's updater bridge are covered through
# focused pure-helper tests, but SwiftPM coverage cannot reliably execute the
# live macOS/Sparkle UI entry points in CI.
- "Sources/MacActivityApp/AppDelegate.swift"
- "Sources/MacActivityApp/SparkleUpdateController.swift"
- "Sources/MacActivityCore/Metrics/Providers/BatterySystemPowerSourceReader.swift"
- "Sources/MacActivityCore/Metrics/Providers/SystemPowerFlowReader.swift"
- "Sources/MacActivityCore/Metrics/Providers/FanProvider.swift"
# SwiftUI view-builder closures and button actions are exercised indirectly by
# layout/model tests; exclude the declarative view body from patch gating.
- "Sources/MacActivityApp/Views/AudioDashboardView.swift"
- "Sources/MacActivityApp/Views/DashboardView.swift"
- "Sources/MacActivityApp/Views/EnergyImpactView.swift"
- "Sources/MacActivityApp/Views/PreferencesView.swift"
# Process taps require a real Core Audio graph. The deterministic topology,
# lifecycle, and DSP logic remains unit tested through injected hardware.
- "Sources/MacActivityCore/Audio/AudioTapHardware.swift"
- "Sources/MacActivityCore/Audio/CoreAudioHALBackend.swift"