Skip to content

Commit

Permalink
Update performance_test.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir-P committed Jul 28, 2024
1 parent 5d0c495 commit 913523c
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/performance_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,24 @@ jobs:
cache: true
# Manually Update this `key`
cache-key: "20230512"
- run: |
cd packages/fleather/example
ls

- name: Restore reference summary from cache
id: performance_timelines_cache_restore
uses: actions/cache/restore@v4
with:
path: build/performance_timelines
path: packages/fleather/example/build/performance_timelines
key: performance_timelines

- if: steps.performance_timelines_cache_restore.outputs.cache-hit == 'true'
run: mv performance_timelines reference_performance_timelines
run: mv packages/fleather/example/build/performance_timelines packages/fleather/example/build/reference_performance_timelines

- name: Run performance tests
working-directory: ./packages/parchment
run: |
ls
flutter drive --driver=test_driver/performance_driver.dart --target=integration_test/scrolling_test.dart --profile
flutter drive --driver=test_driver/performance_driver.dart --target=integration_test/editing_test.dart --profile
dart run test_utils/analyze_performance_result.dart
ls
flutter drive --driver=test_driver/performance_driver.dart --target=integration_test/scrolling_test.dart --profile
flutter drive --driver=test_driver/performance_driver.dart --target=integration_test/editing_test.dart --profile
dart run test_utils/analyze_performance_result.dart
- name: Save reference summary
if: github.ref == 'refs/heads/master'
Expand Down

0 comments on commit 913523c

Please sign in to comment.