Skip to content

Commit

Permalink
Merge pull request #249 from natsuk4ze/retry-integration-test-for-iOS
Browse files Browse the repository at this point in the history
Fix CI/CD
  • Loading branch information
natsuk4ze authored Dec 15, 2024
2 parents 7a7f296 + 1e306ab commit a51ccac
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,18 @@ jobs:
fi
- name: Run integration tests
id: Run-integration-tests
timeout-minutes: 15
continue-on-error: true
run: |
cd example
flutter test -d macos integration_test/integration_test.dart macos
- name: Retry integration tests
if: steps.Run-integration-tests.outcome == 'failure'
timeout-minutes: 15
run: |
flutter clean && flutter pub get
cd example
flutter test -d macos integration_test/integration_test.dart macos
Expand Down Expand Up @@ -161,7 +172,18 @@ jobs:
fi
- name: Run integration tests
id: Run-integration-tests
timeout-minutes: 15
continue-on-error: true
run: |
cd example
flutter test integration_test/integration_test.dart
- name: Retry integration tests
if: steps.Run-integration-tests.outcome == 'failure'
timeout-minutes: 15
run: |
flutter clean && flutter pub get
cd example
flutter test integration_test/integration_test.dart
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,4 @@ jobs:
run: flutter pub get
- uses: dart-lang/setup-dart@v1
- name: Publish
run: dart pub publish
run: dart pub publish --force

0 comments on commit a51ccac

Please sign in to comment.