diff --git a/.github/workflows/performance_test.yaml b/.github/workflows/performance_test.yaml index 4a0e231f..373d2593 100644 --- a/.github/workflows/performance_test.yaml +++ b/.github/workflows/performance_test.yaml @@ -35,7 +35,10 @@ jobs: run: | flutter drive -d macos --driver=test_driver/performance_driver.dart --target=integration_test/scrolling_test.dart --profile flutter drive -d macos --driver=test_driver/performance_driver.dart --target=integration_test/editing_test.dart --profile - dart run test_utils/analyze_performance_result.dart + + - name: Analyze results + working-directory: ./packages/fleather/example + run: dart run test_utils/analyze_performance_result.dart - name: Save reference summary if: github.ref == 'refs/heads/master' diff --git a/packages/fleather/example/integration_test/editing_test.dart b/packages/fleather/example/integration_test/editing_test.dart index 9defe479..73075b5c 100644 --- a/packages/fleather/example/integration_test/editing_test.dart +++ b/packages/fleather/example/integration_test/editing_test.dart @@ -24,7 +24,8 @@ void main() { controller.updateSelection( TextSelection.collapsed(offset: document.length - 1)); await tester.pump(); - await tester.ime.typeText('Hello, World!', finder: find.byType(RawEditor)); + await tester.ime + .typeText('Hello, World!', finder: find.byType(RawEditor)); }, reportKey: 'editing_timeline', ); diff --git a/packages/fleather/example/test_utils/analyze_performance_result.dart b/packages/fleather/example/test_utils/analyze_performance_result.dart index 98f18465..c8a0faf3 100644 --- a/packages/fleather/example/test_utils/analyze_performance_result.dart +++ b/packages/fleather/example/test_utils/analyze_performance_result.dart @@ -84,8 +84,7 @@ void main() { outputBuffer.write(targetValue.toStringAsFixed(2)); } if (referenceValue != null) { - outputBuffer - .writeln(' Reference: ${referenceValue.toStringAsFixed(2)}'); + outputBuffer.writeln(' Reference: ${referenceValue.toStringAsFixed(2)}'); } else { outputBuffer.writeln(); }