-
Notifications
You must be signed in to change notification settings - Fork 1
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
✨ Testsuite updates and some tests #3
Merged
Merged
Changes from all commits
Commits
Show all changes
43 commits
Select commit
Hold shift + click to select a range
e8c56f0
:package: Updates dev reqs
jefftriplett 9bac050
:gear: Updates test settings
jefftriplett b8eb114
:tractor: Refactor test settings
jefftriplett 07dc661
:green_heart: Adds a simple model test
jefftriplett d1063c0
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] 7383915
:green_heart: Adds router tests
jefftriplett 62391d1
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] f197c73
:gear: :hammer: mypy fixes?
jefftriplett 9ecbbd9
:pencil: commits blank file to make mypy happy
jefftriplett 6140dde
:tractor: Adds/updates lint+mypy tasks
jefftriplett 426f7cd
:gear: Fixes coverage ignore migrations
jefftriplett b872c1a
:gear: Sets coverage to 33% (we will increase this)
jefftriplett 7ff31c5
:gear: :arrow_down: Drop coverage
jefftriplett 7187cec
:gear: Configures pytest-coverage support
jefftriplett 1dcd1bd
:green_heart: Adds test_runrelay cmd
jefftriplett 73a4e27
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] f8b785a
add intro to README
joshuadavidthomas 3edfaf3
adjust formatting
joshuadavidthomas f74db20
adjust wording
joshuadavidthomas af7484a
[pre-commit.ci] auto fixes from pre-commit.com hooks
pre-commit-ci[bot] f06d50b
add docker publish job to release workflow
joshuadavidthomas fcfb62b
add if checks to release workflow
joshuadavidthomas edb3e9b
add correct DATABASES settings for PgBouncer (#7)
joshuadavidthomas d5b01c8
add default email settings to service (#9)
joshuadavidthomas 4e7beec
fix router name in README
joshuadavidthomas ef300a2
move version to pyproject.toml
joshuadavidthomas 5c983a9
add changelog
joshuadavidthomas 8639a19
add py.typed file, aspirationally
joshuadavidthomas fff47a0
fix backend name in README
joshuadavidthomas 355f853
change test workflow trigger (#14)
joshuadavidthomas 14bbdac
move version back to package (#13)
joshuadavidthomas c28779b
remove Django 4.0 (#12)
joshuadavidthomas d99f6ec
add support for user settings from environ (#15)
joshuadavidthomas b39f1eb
add more logging to relay (#19)
joshuadavidthomas 13f32ce
:robot: Bump docker/build-push-action from 4 to 5 (#16)
dependabot[bot] 479f233
:robot: Bump docker/login-action from 2 to 3 (#17)
dependabot[bot] 0dbb574
:robot: Bump docker/setup-buildx-action from 2 to 3 (#18)
dependabot[bot] ee6a3e5
:robot: [pre-commit.ci] pre-commit autoupdate (#20)
pre-commit-ci[bot] f0b95d3
:tractor: Run pytest-cov
jefftriplett 92f981c
:arrow_up: Bumps coverage to check to >50%
jefftriplett 674cdf8
:gear: Run normal pytest
jefftriplett 2e5b499
:tractor: Adds python -m to all the things
jefftriplett 3a28784
:tractor: Updates nox entrypoint too
jefftriplett File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), | ||
and this project attempts to adhere to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
### Added | ||
|
||
- An email backend that stores emails in a database ala a Message model rather than sending them via SMTP or other means | ||
- A database backend that routes writes to the Message model to a separate database | ||
- A Message model that stores the contents of an email | ||
- A relay service intended to be run separately, either as a standalone Docker image or as a management command within a Django project | ||
- Initial documentation (README.md) | ||
- Initial tests | ||
- Initial CI/CD (GitHub Actions) | ||
|
||
[unreleased]: https://github.com/westerveltco/django-email-relay/compare/HEAD...HEAD |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You've probably already explored this, but is line 128 above this the culprit causing mypy issues, since that
tests.settings
module doesn't exist anymore in this PR?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@joshuadavidthomas
django_settings_module
was required. Some of the mypy* setting ordering was causing grief. I didn't figure out why, I just got it working and moved on.