[Tool] Cov split BE/FE by flags (#29855)
Signed-off-by: AndyZiYe <yeziyu@starrocks.com>
This commit is contained in:
parent
ac413123f3
commit
98df82dc5c
|
|
@ -751,8 +751,8 @@ jobs:
|
||||||
- name: Clean ECS
|
- name: Clean ECS
|
||||||
if: steps.backup.outcome == 'success'
|
if: steps.backup.outcome == 'success'
|
||||||
env:
|
env:
|
||||||
SQL_TESTER_RESULT: ${{ needs.SQL-Tester.outcome }}
|
SQL_TESTER_RESULT: ${{ needs.SQL-Tester.result }}
|
||||||
ADMIT_RESULT: ${{ needs.admit.outcome }}
|
ADMIT_RESULT: ${{ needs.admit.result }}
|
||||||
run: |
|
run: |
|
||||||
cd ci-tool && source lib/init.sh
|
cd ci-tool && source lib/init.sh
|
||||||
if [[ "${SQL_TESTER_RESULT}" == 'success' && "${ADMIT_RESULT}" == 'success' ]]; then
|
if [[ "${SQL_TESTER_RESULT}" == 'success' && "${ADMIT_RESULT}" == 'success' ]]; then
|
||||||
|
|
|
||||||
|
|
@ -202,6 +202,7 @@ jobs:
|
||||||
files: ${{ github.workspace }}/coverage.xml
|
files: ${{ github.workspace }}/coverage.xml
|
||||||
dry_run: false
|
dry_run: false
|
||||||
name: fe-total
|
name: fe-total
|
||||||
|
flags: fe-total
|
||||||
fail_ci_if_error: false
|
fail_ci_if_error: false
|
||||||
verbose: true
|
verbose: true
|
||||||
override_pr: ${{ needs.INFO.outputs.PR_NUMBER }}
|
override_pr: ${{ needs.INFO.outputs.PR_NUMBER }}
|
||||||
|
|
@ -298,11 +299,13 @@ jobs:
|
||||||
# total coverage
|
# total coverage
|
||||||
- name: Coverage Report
|
- name: Coverage Report
|
||||||
uses: codecov/codecov-action@v3
|
uses: codecov/codecov-action@v3
|
||||||
|
if: steps.publish_report.outcome == 'success'
|
||||||
with:
|
with:
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
token: ${{ secrets.CODECOV_TOKEN }}
|
||||||
files: ${{ github.workspace }}/be/be_ut_coverage.xml
|
files: ${{ github.workspace }}/be/be_ut_coverage.xml
|
||||||
dry_run: false
|
dry_run: false
|
||||||
name: be-total
|
name: be-total
|
||||||
|
flags: be-total
|
||||||
fail_ci_if_error: false
|
fail_ci_if_error: false
|
||||||
verbose: true
|
verbose: true
|
||||||
override_pr: ${{ needs.INFO.outputs.PR_NUMBER }}
|
override_pr: ${{ needs.INFO.outputs.PR_NUMBER }}
|
||||||
|
|
|
||||||
12
codecov.yml
12
codecov.yml
|
|
@ -7,12 +7,24 @@ github_checks:
|
||||||
coverage:
|
coverage:
|
||||||
status:
|
status:
|
||||||
project:
|
project:
|
||||||
|
default: off
|
||||||
fe-total:
|
fe-total:
|
||||||
target: 60%
|
target: 60%
|
||||||
threshold: 5%
|
threshold: 5%
|
||||||
only_pulls: true
|
only_pulls: true
|
||||||
|
flags:
|
||||||
|
- fe-total
|
||||||
be-total:
|
be-total:
|
||||||
target: 60%
|
target: 60%
|
||||||
threshold: 5%
|
threshold: 5%
|
||||||
only_pulls: true
|
only_pulls: true
|
||||||
|
flags:
|
||||||
|
- be-total
|
||||||
patch: false
|
patch: false
|
||||||
|
flags:
|
||||||
|
fe-total:
|
||||||
|
paths:
|
||||||
|
- fe/
|
||||||
|
be-total:
|
||||||
|
paths:
|
||||||
|
- be/
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue