Skip to content

ci: actually run flutter test - #11

Merged
mpge merged 1 commit into
mainfrom
ci/run-flutter-tests
Aug 31, 2026
Merged

mpge merged 1 commit into
mainfrom
ci/run-flutter-tests

Conversation

@mpge

@mpge mpge commented Aug 31, 2026

Copy link
Copy Markdown
Member

The job is named "Tests & Analyze" but only ever analyzed — there was no flutter test step.

Analysis is not worthless here: it is exactly what surfaced file_picker removing FilePicker.platform, then FilePickerResult, then PlatformFile.size across #8 and #10. But it can only catch API breakage. It cannot catch a behaviour regression, and it never will.

Honest caveat: the suite is 2 tests, so this is a small gate today. It is the gate that has to exist before widening it is worth anything — right now adding a test buys you nothing in CI, which is a bad incentive.

The natural next step is widget coverage for FileDropzone, which is both the most logic-heavy widget and the one that just absorbed three breaking API changes. That needs the platform channel mocked, so it is its own piece of work rather than something to bolt onto a CI change.

The job is named "Tests & Analyze" but only ever analyzed. Analysis
catches API breakage -- it is what surfaced file_picker removing
FilePicker.platform -- but it cannot catch a behaviour regression.

The suite is only 2 tests, so this is a small gate today. It is the
gate that has to exist before it is worth widening.
@mpge
mpge merged commit 1917411 into main Aug 31, 2026
1 check passed
@mpge
mpge deleted the ci/run-flutter-tests branch August 31, 2026 22:56
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