diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml index 4b0661b05a..e446a5da9a 100644 --- a/.github/workflows/integration-tests.yml +++ b/.github/workflows/integration-tests.yml @@ -29,7 +29,10 @@ jobs: - name: Setup environment run: source ci_scripts/ci_common.sh && setup_github_actions_environment - + + - name: Reset simulators + run: SNAPSHOT_FORCE_DELETE=1 bundle exec fastlane snapshot reset_simulators + - name: Run tests run: bundle exec fastlane integration_tests env: diff --git a/.github/workflows/unit_tests.yml b/.github/workflows/unit_tests.yml index 63fa5e54ed..1d6206923e 100644 --- a/.github/workflows/unit_tests.yml +++ b/.github/workflows/unit_tests.yml @@ -35,6 +35,9 @@ jobs: - name: SwiftFormat run: swiftformat --lint . + + - name: Reset simulators + run: SNAPSHOT_FORCE_DELETE=1 bundle exec fastlane snapshot reset_simulators - name: Run tests run: bundle exec fastlane unit_tests