aws / aws/bedrock-agentcore-sdk-python

Add Codecov coverage badge to README

Đang mở Phù hợp với người mới
#268 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Python
Star
761
Fork
147
Merge trung bình
1 ngày 23 giờ
Pull request đã merge (30 ngày)
7

Mô tả

## Summary

The CI pipeline already uploads test coverage data to Codecov (in `.github/workflows/ci.yml`), but the README doesn't display a coverage badge. Adding one gives contributors a quick visual indicator of test coverage health.

## Current State

- Coverage is collected via `pytest-cov` with a 90% `fail_under` threshold
- Coverage XML is uploaded to Codecov on every CI run
- The README has badges for commit activity, issues, PRs, license, PyPI version, and Python versions — but not coverage

## Implementation

Add the Codecov badge to the existing badge row in `README.md`:

```markdown
[![codecov](https://codecov.io/gh/aws/bedrock-agentcore-sdk-python/branch/main/graph/badge.svg)](https://codecov.io/gh/aws/bedrock-agentcore-sdk-python)
```

### Steps

1. Verify the Codecov project is set up at https://codecov.io/gh/aws/bedrock-agentcore-sdk-python — if not, a repo admin needs to enable Codecov integration for the repo
2. Add the badge markdown to `README.md` alongside the existing badges
3. Confirm the badge renders and shows a valid percentage

## Notes

- No code changes needed — just a README update
- If the Codecov integration isn't active yet, a repo admin needs to enable it via the Codecov GitHub App or by adding a `CODECOV_TOKEN` repository secret (Codecov v5 action supports tokenless uploads for public repos, but a token is more reliable)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start by checking the existing badge row in README.md and the coverage upload configuration in .github/workflows/ci.yml. Verify that the Codecov project is active, add the provided badge markdown beside the other badges, and confirm that it renders with a valid percentage; repository-admin setup may be needed if Codecov is not enabled.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
python
Lĩnh vực
documentation
Loại issue
Tài liệu
Độ khó
1/5
Thời gian dự kiến
Dưới một giờ
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Đặc tả rõ ràng
Mức phù hợp với người mới
72/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.