Skip to content
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

feat: add test automation for email relay using Mailpit #3

Merged
merged 8 commits into from
Sep 25, 2024

Conversation

dogukancagatay
Copy link
Owner

@dogukancagatay dogukancagatay commented Sep 25, 2024

  • Introduced a new test automation setup for the email relay using Mailpit.
  • Updated the GitHub Actions workflow to include Python environment setup, test container management, and test execution.
  • Modified the README.md to update badge and tag information, and improve formatting.
  • Updated docker-compose.yml to include a new Mailpit service for testing.
  • Added a comprehensive test suite in test/test_mailpit.py for sending and verifying emails.
  • Removed outdated test configuration files and scripts.

@dogukancagatay dogukancagatay force-pushed the add-ci-testing-with-mailpit branch 2 times, most recently from 50f99d2 to c1a3158 Compare September 25, 2024 20:04
@dogukancagatay dogukancagatay force-pushed the add-ci-testing-with-mailpit branch 3 times, most recently from 88f3b22 to 70f291f Compare September 25, 2024 20:50
@dogukancagatay dogukancagatay marked this pull request as ready for review September 25, 2024 20:57
@dogukancagatay dogukancagatay changed the title add ci testing with mailpit Add CI testing with mailpit Sep 25, 2024
Copy link

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @dogukancagatay - I've reviewed your changes - here's some feedback:

Overall Comments:

  • Great work on improving the testing infrastructure and CI pipeline. Consider breaking down some of the longer functions in test_mailpit.py for improved readability and maintainability.
Here's what I looked at during the review
  • 🟢 General issues: all looks good
  • 🟢 Security: all looks good
  • 🟡 Testing: 3 issues found
  • 🟢 Complexity: all looks good
  • 🟡 Documentation: 1 issue found

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.

.github/workflows/build-latest.yml Show resolved Hide resolved
test/test_mailpit.py Show resolved Hide resolved
test/test_mailpit.py Show resolved Hide resolved
README.md Show resolved Hide resolved
test/test_mailpit.py Show resolved Hide resolved
test/test_mailpit.py Show resolved Hide resolved
test/test_mailpit.py Show resolved Hide resolved
test/test_mailpit.py Outdated Show resolved Hide resolved
- Introduced a new test automation setup for the email relay using
Mailpit.
- Updated the GitHub Actions workflow to include Python environment setup,
test container management, and test execution.
- Updated docker-compose.yml to include a new Mailpit service for testing.
- Added a comprehensive test suite in test/test_mailpit.py for sending
and verifying emails.
@dogukancagatay dogukancagatay changed the title Add CI testing with mailpit feat: add test automation for email relay using Mailpit Sep 25, 2024
@dogukancagatay dogukancagatay merged commit ab193d7 into main Sep 25, 2024
1 check passed
@dogukancagatay dogukancagatay deleted the add-ci-testing-with-mailpit branch September 25, 2024 21:16
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