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 b1f6aa6 commit 8d603ea
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions .github/workflows/performance_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,21 @@ on:

jobs:
test:
runs-on: ubuntu-latest
runs-on: macOS-latest

steps:
- uses: actions/checkout@v3

- uses: subosito/flutter-action@v2
with:
flutter-version: "3.22.0"
cache: true
# Manually Update this `key`
cache-key: "20230512"
- run: |
sudo apt-get update -y
sudo apt-get install -y ninja-build libgtk-3-dev

- uses: futureware-tech/simulator-action@v3
with:
model: 'iPhone 15'

- name: Restore reference summary from cache
id: performance_timelines_cache_restore
Expand All @@ -35,8 +37,8 @@ jobs:
- name: Run performance tests
working-directory: ./packages/fleather/example
run: |
flutter drive -d linux --driver=test_driver/performance_driver.dart --target=integration_test/scrolling_test.dart --profile
flutter drive -d linux --driver=test_driver/performance_driver.dart --target=integration_test/editing_test.dart --profile
flutter drive -d iPhone 15 --driver=test_driver/performance_driver.dart --target=integration_test/scrolling_test.dart --profile
flutter drive -d iPhone 15 --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
Expand Down

0 comments on commit 8d603ea

Please sign in to comment.