Skip to content

Commit e55b746

Browse files
committed
fix: codevoce coverage reporting
1 parent 5b10dcd commit e55b746

3 files changed

Lines changed: 14 additions & 1 deletion

File tree

.codecov.yaml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ comment:
66
layout: "condensed_header, diff, components"
77
after_n_builds: 3
88

9+
flag_management:
10+
default_rules:
11+
carryforward: true
12+
individual_flags:
13+
- name: tests
14+
carryforward: true
15+
- name: extension-tests
16+
carryforward: true
17+
- name: arrow-extension
18+
carryforward: true
19+
920
component_management:
1021
individual_components:
1122
- component_id: etl

.github/actions/codecov-report/action.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ runs:
4747
with:
4848
token: ${{ inputs.token }}
4949
directory: ./var/phpunit/coverage/clover
50+
flags: tests
5051

5152
- name: Upload code coverage (pull request)
5253
if: ${{ github.event_name == 'pull_request' && !cancelled() && inputs.dependencies == 'locked' }}
@@ -55,6 +56,7 @@ runs:
5556
token: ${{ inputs.token }}
5657
directory: ./var/phpunit/coverage/clover
5758
commit_parent: ${{ env.codecov_base_commit_sha }}
59+
flags: tests
5860

5961
- name: Upload test results (pull request)
6062
if: ${{ github.event_name == 'pull_request' && !cancelled() && inputs.dependencies == 'locked' }}

.github/workflows/test-suite.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ on:
2525
workflow_dispatch:
2626

2727
concurrency:
28-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
28+
group: ${{ github.workflow }}-${{ github.event_name }}-${{ github.event.pull_request.number || github.ref }}
2929
cancel-in-progress: true
3030

3131
jobs:

0 commit comments

Comments
 (0)