Skip to content

Commit

Permalink
Merge pull request #17 from natsuk4ze/Optimize-CI
Browse files Browse the repository at this point in the history
  • Loading branch information
natsuk4ze committed May 16, 2024
2 parents 86d985b + 9518b5b commit ada9776
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,20 @@ jobs:
os_version: ^${{ matrix.ios-version }}

- name: Run Integration Tests
timeout-minutes: 20
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
timeout-minutes: 15
if: steps.Run-Integration-Tests.outcome == 'failure'
run: |
flutter clean && flutter pub get
cd example
flutter clean && flutter pub get
flutter test integration_test/integration_test.dart
Expand All @@ -57,8 +68,7 @@ jobs:
runs-on: macos-13
strategy:
matrix:
# Api 33 is [currently not available on the macos-13 runner](https://github.com/ReactiveCircus/android-emulator-runner/issues/340)
api-level: [34,32,31,30,29,28,27,26,25,24,23,22,21]
api-level: [34,33,32,31,30,29,28,27,26,25,24,23,22,21]
fail-fast: false
steps:
- name: Check out
Expand Down

0 comments on commit ada9776

Please sign in to comment.