test: fix coverage reporting (#9148)

Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
This commit is contained in:
ckohen 2023-02-19 10:59:35 -08:00 committed by GitHub
parent 5c5a5832b9
commit 7f2ef962ec
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 1 deletions

View file

@ -3,7 +3,8 @@ on:
push: push:
pull_request: pull_request:
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} # Group based on workflow name and PR if it exists, if no PR, let it run so carryforward flags work
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true cancel-in-progress: true
jobs: jobs:
tests: tests:

View file

@ -15,6 +15,7 @@ coverage:
flag_management: flag_management:
default_rules: default_rules:
carryforward: true
statuses: statuses:
- type: project - type: project
target: auto target: auto

View file

@ -15,6 +15,8 @@ export default defineConfig({
'**/*.{interface,type,d}.ts', '**/*.{interface,type,d}.ts',
// All index files that *should* only contain exports from other files // All index files that *should* only contain exports from other files
'**/index.{js,ts}', '**/index.{js,ts}',
// All exports files that make subpackages available as submodules
'**/exports/*.{js,ts}',
], ],
}, },
}, },