Skip to content

Conversation

@gmackall
Copy link
Member

@gmackall gmackall commented Jan 17, 2025

Makes Test.kt files count as tests for the purpose of calculating if a PR has tests.

Context: flutter/flutter#161835

Pre-launch Checklist

  • I read the Contributor Guide and followed the process outlined there for submitting PRs.
  • I read the Tree Hygiene wiki page, which explains my responsibilities.
  • I read the Flutter Style Guide recently, and have followed its advice.
  • I signed the CLA.
  • I listed at least one issue that this PR fixes in the description above.
  • I updated/added relevant documentation (doc comments with ///).
  • I added new tests to check the change I am making, or this PR is test-exempt.
  • All existing and new tests are passing.

If you need help, consider asking for advice on the #hackers-new channel on Discord.

Copy link
Contributor

@stuartmorgan-g stuartmorgan-g left a comment

Choose a reason for hiding this comment

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

LGTM with nit.

@gmackall gmackall added the autosubmit Merge PR when tree becomes green via auto submit App. label Jan 21, 2025
@auto-submit auto-submit bot merged commit 958645c into flutter:main Jan 21, 2025
4 checks passed
filename.contains('android/src/test/') ||
filename.contains('androidTest/') ||
// Kotlin source tests, used in the Flutter Gradle Plugin.
filename.contains('Test.kt') ||
Copy link
Contributor

Choose a reason for hiding this comment

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

Please also add an entry into app_dart/test/request_handlers/github/webhook_subscription_test.dart so that this does not regress.

auto-submit bot pushed a commit that referenced this pull request Jan 22, 2025
…DME (#4169)

Follow up to #4162.

The first PR was wrong - it modified the logic that is used to handle packages PRs, not framework PRs. This PR fixes that, adds a test, and also modifies the README to add a missing step that I found in flutter/flutter#129651, which originally blocked me from running the tests locally.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

autosubmit Merge PR when tree becomes green via auto submit App.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants