Skip to content

Commit 3adaabc

Browse files
committed
chore: exclude tui rendering from code coverage
1 parent 1e9830e commit 3adaabc

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

codecov.yaml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,3 +24,12 @@ ignore:
2424
- "tests/utils/**" # ignore test utilities
2525
- "**/testdata/**" # ignore test data
2626
- "**/mocks/**" # ignore mocks
27+
# TUI rendering layers — tightly coupled to tuikit; exercised via e2e.
28+
# Patterns catch every file in io/{cache,config,executable,workspace,secret,vault}
29+
# plus the TUI-bound files in io/logs, while leaving io/common/ tracked.
30+
- "internal/io/*/output.go"
31+
- "internal/io/*/view*.go" # matches views.go and view.go
32+
- "internal/io/*/detail.go"
33+
- "internal/io/*/library.go"
34+
- "internal/io/*/background.go"
35+
- "internal/runner/render/render.go" # TUI path dominates; plain path is unit-tested

internal/utils/env/env_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ TEST_ENV_VAR3=value3`
345345
It("should convert the map to list correctly", func() {
346346
envMap := map[string]string{"TEST_KEY": "test", "TEST_KEY_2": "test2"}
347347
envList := env.EnvMapToEnvList(envMap)
348-
Expect(envList).To(Equal([]string{"TEST_KEY=test", "TEST_KEY_2=test2"}))
348+
Expect(envList).To(ConsistOf("TEST_KEY=test", "TEST_KEY_2=test2"))
349349
})
350350
})
351351

0 commit comments

Comments
 (0)