You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ci: Split GitHub Actions into separate workflows (#7)
* docs: Remove Benefits of create-with-session section from README
The create-with-session command and its 'new' alias are already in
upstream/main, so the benefits section is no longer needed.
* ci: Split GitHub Actions into three separate workflows
- **lint.yml**: Run linter (ruff) and type checking (mypy) on every push and PR
- **tests.yml**: Run basic tests that don't require email sending on every push and PR
- **email-tests.yml**: Run tests that require Postmark email sending only on manual trigger
Benefits:
- Linting runs fast on every PR without waiting for long test runs
- Basic API tests run on every PR without requiring Postmark secrets
- Email sending tests only run when manually triggered by maintainer with secrets
- Uses pytest markers ("flow") to separate tests by dependencies
This fixes the issue where PRs from forks fail due to missing Postmark secrets.
* fix: Remove mypy from lint workflow (not installed)
mypy is not available in the project, so remove it from lint workflow.
Ruff provides sufficient linting capabilities.
* fix: Add @pytest.mark.flow to tests that require Postmark credentials
- test_email_sender_initialization() creates PostmarkEmailSender without session
- test_wait_for_email_async() sends test email using PostmarkEmailSender
- test_wait_for_email_filtered_async() sends test emails using PostmarkEmailSender
These tests now properly excluded from basic tests workflow via -m "not flow"
---------
Co-authored-by: clawdbot-silly-waddle <clawdbot-silly-waddle@users.noreply.github.com>
0 commit comments