diff --git a/.github/workflows/ci-pipeline.yml b/.github/workflows/ci-pipeline.yml index 086abe712a2..a92baa46eb6 100644 --- a/.github/workflows/ci-pipeline.yml +++ b/.github/workflows/ci-pipeline.yml @@ -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 diff --git a/.github/workflows/ci-report.yml b/.github/workflows/ci-report.yml index cb17a11b1c1..923d9e37518 100644 --- a/.github/workflows/ci-report.yml +++ b/.github/workflows/ci-report.yml @@ -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 }} diff --git a/codecov.yml b/codecov.yml index 879b1fb17b5..91bb9f1b31c 100644 --- a/codecov.yml +++ b/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/