Skip to content

Add pytest test suite with CI and coverage#3

Merged
GeiserX merged 2 commits into
mainfrom
feat/add-tests
Apr 11, 2026
Merged

Add pytest test suite with CI and coverage#3
GeiserX merged 2 commits into
mainfrom
feat/add-tests

Conversation

@GeiserX
Copy link
Copy Markdown
Owner

@GeiserX GeiserX commented Apr 11, 2026

Summary

  • Add 29 pytest tests covering entry parsing, URL host validation, badge detection, config loading, alphabetical ordering, and full lint_readme integration
  • Add GitHub Actions workflow (.github/workflows/tests.yml) running pytest with codecov upload
  • Add requirements-test.txt with pytest and pytest-cov
  • Add codecov badge to README

Test plan

  • Verify all 29 tests pass in CI
  • Confirm codecov badge renders after first CI run

GeiserX added 2 commits April 11, 2026 15:30
- 29 tests covering entry parsing, URL validation, badge detection,
  config loading, alphabetical ordering, and full lint_readme integration
- GitHub Actions workflow running pytest with codecov upload
- Codecov badge in README
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 11, 2026

Warning

Rate limit exceeded

@GeiserX has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 11 minutes and 15 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 11 minutes and 15 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: a1c6df90-aa6a-4079-a2e1-1032b67db511

📥 Commits

Reviewing files that changed from the base of the PR and between b29ed5b and daa2b4b.

📒 Files selected for processing (6)
  • .github/workflows/tests.yml
  • .gitignore
  • README.md
  • requirements-test.txt
  • tests/__init__.py
  • tests/test_lint.py
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/add-tests

Comment @coderabbitai help to get the list of available commands and usage tips.

@GeiserX GeiserX merged commit c2af4cf into main Apr 11, 2026
3 checks passed
@GeiserX GeiserX deleted the feat/add-tests branch April 11, 2026 13:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant