Skip to content

Commit 7f2ef96

Browse files
test: fix coverage reporting (#9148)
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
1 parent 5c5a583 commit 7f2ef96

File tree

3 files changed

+5
-1
lines changed

3 files changed

+5
-1
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ on:
33
push:
44
pull_request:
55
concurrency:
6-
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }}
6+
# Group based on workflow name and PR if it exists, if no PR, let it run so carryforward flags work
7+
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
78
cancel-in-progress: true
89
jobs:
910
tests:

codecov.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ coverage:
1515

1616
flag_management:
1717
default_rules:
18+
carryforward: true
1819
statuses:
1920
- type: project
2021
target: auto

vitest.config.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ export default defineConfig({
1515
'**/*.{interface,type,d}.ts',
1616
// All index files that *should* only contain exports from other files
1717
'**/index.{js,ts}',
18+
// All exports files that make subpackages available as submodules
19+
'**/exports/*.{js,ts}',
1820
],
1921
},
2022
},

0 commit comments

Comments
 (0)