Skip to content

Commit

Permalink
Prevent duplicated run of main pipeline in PRs
Browse files Browse the repository at this point in the history
  • Loading branch information
Amir-P committed Jul 28, 2024
1 parent 913523c commit a86f95e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/fleather.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
name: build

on: [push, pull_request]
on:
push:
branches:
- 'master'
pull_request:

jobs:
build:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/performance_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ jobs:
run: mv packages/fleather/example/build/performance_timelines packages/fleather/example/build/reference_performance_timelines

- name: Run performance tests
working-directory: ./packages/parchment
working-directory: ./packages/fleather/example
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
Expand Down

0 comments on commit a86f95e

Please sign in to comment.