-
Notifications
You must be signed in to change notification settings - Fork 3.5k
[tool] Check for test and flutter_test in non-dev dependencies
#6472
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
[tool] Check for test and flutter_test in non-dev dependencies
#6472
Conversation
…al_test_dependencies_check
|
It looks like this pull request may not have tests. Please make sure to add tests before merging. If you need an exemption to this rule, contact "@test-exemption-reviewer" in the #hackers channel in Chat (don't just cc them here, they won't see it! Use Discord!). If you are not sure if you need tests, consider this rule of thumb: the purpose of a test is to make sure someone doesn't accidentally revert the fix. Ask yourself, is there anything in your PR that you feel it is important we not accidentally revert back to how it was before your fix? Reviewers: Read the Tree Hygiene page and make sure this patch meets those guidelines before LGTMing. |
stuartmorgan-g
left a comment
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.
Thanks!
| ${_dependenciesSection(<String>['integration_test: \n sdk: flutter'])} | ||
| ${_dependenciesSection(<String>[ | ||
| 'integration_test: \n sdk: flutter', | ||
| 'flutter_test: \n sdk: flutter', |
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.
If the existing tests are going to change to test more things, then the test descriptions need to change accordingly.
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.
updated test name to 'fails when integration_test, flutter_test or test are used in non dev dependency'
packages/css_colors/CHANGELOG.md
Outdated
| @@ -1,6 +1,7 @@ | |||
| ## NEXT | |||
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.
This needs a version change, which is why CI is failing.
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.
Updated
packages/css_colors/pubspec.yaml
Outdated
| repository: https://github.com/flutter/packages/tree/main/packages/css_colors | ||
| issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+css_colors%22 | ||
| version: 1.1.4 | ||
| version: 1.1.4+1 |
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.
Please see the end of https://dart.dev/tools/pub/versioning#semantic-versions. We follow the advice there about when to use (and not use) + in versions.
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.
Updated
packages/web_benchmarks/CHANGELOG.md
Outdated
| @@ -1,3 +1,7 @@ | |||
| ## 1.2.1+1 | |||
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.
Same issue here.
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.
Updated
…al_test_dependencies_check
stuartmorgan-g
left a comment
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.
LGTM
test and flutter_test in non-dev dependencies
test and flutter_test in non-dev dependenciestest and flutter_test in non-dev dependencies
|
@bparrishMines or @tarrinneal could you do the secondary review here? |
bparrishMines
left a comment
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.
LGTM
flutter/packages@2c15d86...e98839a 2024-04-10 ekuleshov@gmail.com [tool] Check for `test` and `flutter_test` in non-dev dependencies (flutter/packages#6472) 2024-04-10 43054281+camsim99@users.noreply.github.com [camerax] Shorten interval for releasing weak references to Dart-wrapped native objects (flutter/packages#6493) 2024-04-10 engine-flutter-autoroll@skia.org Roll Flutter from 4967a94 to 97cd47a (11 revisions) (flutter/packages#6497) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
flutter/packages@2c15d86...e98839a 2024-04-10 ekuleshov@gmail.com [tool] Check for `test` and `flutter_test` in non-dev dependencies (flutter/packages#6472) 2024-04-10 43054281+camsim99@users.noreply.github.com [camerax] Shorten interval for releasing weak references to Dart-wrapped native objects (flutter/packages#6493) 2024-04-10 engine-flutter-autoroll@skia.org Roll Flutter from 4967a94 to 97cd47a (11 revisions) (flutter/packages#6497) If this roll has caused a breakage, revert this CL and stop the roller using the controls here: https://autoroll.skia.org/r/flutter-packages-flutter-autoroll Please CC flutter-ecosystem@google.com,rmistry@google.com on the revert to ensure that a human is aware of the problem. To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose To report a problem with the AutoRoller itself, please file a bug: https://issues.skia.org/issues/new?component=1389291&template=1850622 Documentation for the AutoRoller is here: https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md
…lutter#6472) *Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.* Additional checks as a followup to flutter#6446 *List which issues are fixed by this PR. You must list at least one issue.* Related to flutter/flutter#145992 *If you had to change anything in the [flutter/tests] repo, include a link to the migration guide as per the [breaking change policy].*
Replace this paragraph with a description of what this PR is changing or adding, and why. Consider including before/after screenshots.
Additional checks as a followup to #6446
List which issues are fixed by this PR. You must list at least one issue.
Related to flutter/flutter#145992
If you had to change anything in the flutter/tests repo, include a link to the migration guide as per the breaking change policy.
Pre-launch Checklist
dart format.)[shared_preferences]pubspec.yamlwith an appropriate new version according to the pub versioning philosophy, or this PR is exempt from version changes.CHANGELOG.mdto add a description of the change, following repository CHANGELOG style.///).If you need help, consider asking for advice on the #hackers-new channel on Discord.