chore(ci): remove codecov (#691)
Remove Codecov configuration and CI steps for uploading coverage/test reports. ## Motivation and Context - Codecov integration relies on third-party credentials - Codecov has not demonstrated clear value for the project: - Coverage analysis is already handled by kover, which runs locally and in CI - PR reviews still require manual inspection of tests regardless of codecov reports - Codecov flaky test detection is unreliable, it marks 3325 out of all tests as flaky with similar failure rates, making the signal useless (https://app.codecov.io/gh/modelcontextprotocol/kotlin-sdk/tests)
This commit is contained in:
parent
6ce534dba9
commit
081a635bd3
3 changed files with 0 additions and 68 deletions
16
.github/workflows/build.yml
vendored
16
.github/workflows/build.yml
vendored
|
|
@ -104,22 +104,6 @@ jobs:
|
||||||
report_paths: '**/test-results/**/TEST-*.xml'
|
report_paths: '**/test-results/**/TEST-*.xml'
|
||||||
truncate_stack_traces: false
|
truncate_stack_traces: false
|
||||||
|
|
||||||
- name: Upload coverage reports to Codecov
|
|
||||||
if: ${{ !cancelled() && matrix.os == 'ubuntu-latest' }}
|
|
||||||
uses: codecov/codecov-action@v6
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
|
||||||
report_type: coverage
|
|
||||||
directory: ./build/reports/kover
|
|
||||||
files: report.xml
|
|
||||||
|
|
||||||
- name: Upload test results to Codecov
|
|
||||||
if: ${{ !cancelled() && matrix.os == 'ubuntu-latest' }}
|
|
||||||
uses: codecov/codecov-action@v6
|
|
||||||
with:
|
|
||||||
token: ${{ secrets.CODECOV_TOKEN }}
|
|
||||||
report_type: test_results
|
|
||||||
|
|
||||||
|
|
||||||
- name: Archive Maven Local Repository
|
- name: Archive Maven Local Repository
|
||||||
if: ${{ success() && matrix.os == 'ubuntu-latest' }}
|
if: ${{ success() && matrix.os == 'ubuntu-latest' }}
|
||||||
|
|
|
||||||
51
codecov.yml
51
codecov.yml
|
|
@ -1,51 +0,0 @@
|
||||||
# Codecov configuration for Mokksy and AI-Mocks
|
|
||||||
# https://docs.codecov.com/docs/codecov-yaml
|
|
||||||
|
|
||||||
codecov:
|
|
||||||
require_ci_to_pass: yes
|
|
||||||
|
|
||||||
coverage:
|
|
||||||
precision: 2
|
|
||||||
round: down
|
|
||||||
status:
|
|
||||||
project:
|
|
||||||
default:
|
|
||||||
target: auto
|
|
||||||
threshold: 1%
|
|
||||||
patch:
|
|
||||||
default:
|
|
||||||
target: auto
|
|
||||||
threshold: 1%
|
|
||||||
|
|
||||||
comment:
|
|
||||||
layout: "header, diff, flags, components"
|
|
||||||
behavior: default
|
|
||||||
require_changes: true
|
|
||||||
|
|
||||||
component_management:
|
|
||||||
default_rules:
|
|
||||||
statuses:
|
|
||||||
- type: project
|
|
||||||
target: auto
|
|
||||||
individual_components:
|
|
||||||
|
|
||||||
- component_id: kotlin-sdk-core
|
|
||||||
name: SDK Core
|
|
||||||
paths:
|
|
||||||
- kotlin-sdk-core/**
|
|
||||||
|
|
||||||
- component_id: kotlin-sdk-client
|
|
||||||
name: SDK Client
|
|
||||||
paths:
|
|
||||||
- kotlin-sdk-client/**
|
|
||||||
|
|
||||||
- component_id: kotlin-sdk-server
|
|
||||||
name: SDK Server
|
|
||||||
paths:
|
|
||||||
- kotlin-sdk-server/**
|
|
||||||
|
|
||||||
- component_id: kotlin-sdk-testing
|
|
||||||
name: SDK Testing
|
|
||||||
paths:
|
|
||||||
- kotlin-sdk-testing/**
|
|
||||||
|
|
||||||
|
|
@ -12,7 +12,6 @@
|
||||||
"CONTRIBUTING.md",
|
"CONTRIBUTING.md",
|
||||||
"LICENSE",
|
"LICENSE",
|
||||||
"SECURITY.md",
|
"SECURITY.md",
|
||||||
"codecov.yml",
|
|
||||||
"gradlew",
|
"gradlew",
|
||||||
"gradlew.bat",
|
"gradlew.bat",
|
||||||
".editorconfig",
|
".editorconfig",
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue