From 97e4b89532c2bfc7cd9573d3027c6694f687422b Mon Sep 17 00:00:00 2001 From: Yu / Midori Date: Sun, 15 Dec 2024 10:26:47 +0900 Subject: [PATCH 1/2] Retry integration tests for darwin --- .github/workflows/ci.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 4ef6f4d..0e64577 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 @@ -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 From 1e306abb37e562793f408e86507369ef17a6cc2d Mon Sep 17 00:00:00 2001 From: Yu / Midori Date: Sun, 15 Dec 2024 11:55:39 +0900 Subject: [PATCH 2/2] Update publish.yml --- .github/workflows/publish.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index ffeb16e..be763ef 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -42,4 +42,4 @@ jobs: run: flutter pub get - uses: dart-lang/setup-dart@v1 - name: Publish - run: dart pub publish \ No newline at end of file + run: dart pub publish --force \ No newline at end of file