add analysis + github test analysis action#66
Merged
taljacobson merged 4 commits intomasterfrom Jun 19, 2025
Merged
Conversation
There was a problem hiding this comment.
Pull Request Overview
This PR adds a new GitHub Action workflow for testing and analysis while updating dependencies and refactoring parts of the test and app initialization code.
- Updates Flutter dependency versions and adds flutter_lints to pubspec files.
- Refactors test initialization, part directives, and removes redundant 'const' usage.
- Introduces new widget tests and updates the main app’s state management.
Reviewed Changes
Copilot reviewed 11 out of 11 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| test/flutter_mailer_test.dart | Refactored test harness and updated method call handler |
| pubspec.yaml | Updated dependency versions and added flutter_lints |
| lib/src/mailerOptions.dart & FlutterMailerSendResponse.dart | Updated part directives to use relative paths |
| lib/flutter_mailer.dart | Removed redundant 'const' from MethodChannel initialization |
| example/test/widget_test.dart | Updated test names and added additional widget tests |
| example/lib/main.dart | Introduced const constructor, modified state class naming, and improved mounted checks |
| analysis_options.yaml & example/analysis_options.yaml | Added linter configuration |
| .github/workflows/pull_request_test_analyze.yml | Added GitHub Action workflow for analysis and tests |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.