From de1f29e6f7a3ce2385f55c94e7d76eac10d15c29 Mon Sep 17 00:00:00 2001 From: stuartmorgan Date: Wed, 21 Jun 2023 15:33:54 -0400 Subject: [PATCH] [ci] Always clean up simulators (#4266) Adds the new `always` flag to the simulator cleanup step to ensure that it runs even if the tests fail. See https://github.com/flutter/flutter/issues/122629 --- .ci/targets/ios_platform_tests.yaml | 1 + .ci/targets/macos_custom_package_tests.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.ci/targets/ios_platform_tests.yaml b/.ci/targets/ios_platform_tests.yaml index a29d049b97..a89554ee65 100644 --- a/.ci/targets/ios_platform_tests.yaml +++ b/.ci/targets/ios_platform_tests.yaml @@ -24,3 +24,4 @@ tasks: args: ["drive-examples", "--ios", "--exclude=script/configs/exclude_integration_ios.yaml"] - name: remove simulator script: .ci/scripts/remove_simulator.sh + always: true diff --git a/.ci/targets/macos_custom_package_tests.yaml b/.ci/targets/macos_custom_package_tests.yaml index a818d1c436..5e5b2553ae 100644 --- a/.ci/targets/macos_custom_package_tests.yaml +++ b/.ci/targets/macos_custom_package_tests.yaml @@ -7,3 +7,4 @@ tasks: script: .ci/scripts/custom_package_tests.sh - name: remove simulator script: .ci/scripts/remove_simulator.sh + always: true