test(ci): run generated code verification without widget contention
Gitea CI / Check code and tests (pull_request) Successful in 14m15s
Gitea CI / Build Windows x64 app (pull_request) Successful in 4m19s
Gitea CI / Gitea CI passed (pull_request) Successful in 1s
Gitea CI / Build Android APK (pull_request) Successful in 5m25s
Gitea CI / Audit and package Windows x64 (pull_request) Successful in 1m39s
Gitea CI / Assemble and validate CI artifacts (pull_request) Successful in 57s

This commit is contained in:
lingjhf committed 2026-10-12 04:30:00 +08:00
1 parent 3022b3a5e2
commit 8dada4726c
2 files changed
+80 -20

No files matched your search

+6 -1
View File
@@ -45,7 +45,12 @@ def check_analyze():
def check_flutter():
package_tests = sorted(str(path.relative_to(ROOT)) for pattern in ('*/test', '*/example/test')
for path in (ROOT / 'packages').glob(pattern))
run(tool_command('flutter', ['test', '--reporter', 'expanded', 'test', *package_tests]))
run(tool_command('flutter', ['test', '--reporter', 'expanded', '--exclude-tags', 'codegen',
'test', *package_tests]))
# build_runner compiles generators and performs repository-wide file I/O.
# Keep this gate serial with widget tests to avoid competing with their isolates.
run(tool_command('flutter', ['test', '--reporter', 'expanded', '--tags', 'codegen',
'test/generated_code_test.dart']))
def main():