[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
|
||||
if: steps.backup.outcome == 'success'
|
||||
env:
|
||||
SQL_TESTER_RESULT: ${{ needs.SQL-Tester.outcome }}
|
||||
ADMIT_RESULT: ${{ needs.admit.outcome }}
|
||||
SQL_TESTER_RESULT: ${{ needs.SQL-Tester.result }}
|
||||
ADMIT_RESULT: ${{ needs.admit.result }}
|
||||
run: |
|
||||
cd ci-tool && source lib/init.sh
|
||||
if [[ "${SQL_TESTER_RESULT}" == 'success' && "${ADMIT_RESULT}" == 'success' ]]; then
|
||||
|
|
|
|||
|
|
@ -202,6 +202,7 @@ jobs:
|
|||
files: ${{ github.workspace }}/coverage.xml
|
||||
dry_run: false
|
||||
name: fe-total
|
||||
flags: fe-total
|
||||
fail_ci_if_error: false
|
||||
verbose: true
|
||||
override_pr: ${{ needs.INFO.outputs.PR_NUMBER }}
|
||||
|
|
@ -298,11 +299,13 @@ jobs:
|
|||
# total coverage
|
||||
- name: Coverage Report
|
||||
uses: codecov/codecov-action@v3
|
||||
if: steps.publish_report.outcome == 'success'
|
||||
with:
|
||||
token: ${{ secrets.CODECOV_TOKEN }}
|
||||
files: ${{ github.workspace }}/be/be_ut_coverage.xml
|
||||
dry_run: false
|
||||
name: be-total
|
||||
flags: be-total
|
||||
fail_ci_if_error: false
|
||||
verbose: true
|
||||
override_pr: ${{ needs.INFO.outputs.PR_NUMBER }}
|
||||
|
|
|
|||
12
codecov.yml
12
codecov.yml
|
|
@ -7,12 +7,24 @@ github_checks:
|
|||
coverage:
|
||||
status:
|
||||
project:
|
||||
default: off
|
||||
fe-total:
|
||||
target: 60%
|
||||
threshold: 5%
|
||||
only_pulls: true
|
||||
flags:
|
||||
- fe-total
|
||||
be-total:
|
||||
target: 60%
|
||||
threshold: 5%
|
||||
only_pulls: true
|
||||
flags:
|
||||
- be-total
|
||||
patch: false
|
||||
flags:
|
||||
fe-total:
|
||||
paths:
|
||||
- fe/
|
||||
be-total:
|
||||
paths:
|
||||
- be/
|
||||
|
|
|
|||
Loading…
Reference in New Issue