-
Notifications
You must be signed in to change notification settings - Fork 3
Adding GitHub Actions #34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughAdds Dependabot configuration for pip and GitHub Actions, and introduces two GitHub Actions workflows: a CI workflow running tests on pull requests to main, and a publish workflow that builds, tests, and publishes to PyPI on pushes to main. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as Developer
participant GH as GitHub
participant CI as CI Workflow (ci.yml)
Dev->>GH: Open/Update PR to main
GH->>CI: Trigger pull_request
CI->>CI: Checkout repo (submodules)
CI->>CI: Setup uv
CI->>CI: apt-get install build-essential
CI->>CI: uv sync
CI->>CI: uv run pytest
CI-->>GH: CI status (pass/fail)
sequenceDiagram
autonumber
actor Dev as Developer
participant GH as GitHub
participant Pub as Publish Workflow (publish.yml)
participant PyPI as PyPI
Dev->>GH: Push to main
GH->>Pub: Trigger push
Pub->>Pub: Checkout repo (submodules)
Pub->>Pub: Setup uv
Pub->>Pub: Install build-essential
Pub->>Pub: uv sync
Pub->>Pub: uv run pytest
Pub->>Pub: uv run build
alt On main with PYPI_TOKEN
Pub->>PyPI: uv publish -t $PYPI_TOKEN
PyPI-->>Pub: Publish result
else Not main / missing token
Pub-->>Pub: Skip publish step
end
Pub-->>GH: Workflow status
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related issues
Poem
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (3)
✨ Finishing Touches🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
CodeRabbit Configuration File (
|
Adding GitHub Actions:
Summary by CodeRabbit