Skip to content

Commit

Permalink
Reset the simulators on GitHub before running?
Browse files Browse the repository at this point in the history
  • Loading branch information
pixlwave committed Sep 26, 2024
1 parent e51a103 commit 98d1cc7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/integration-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/unit_tests_enterprise.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,10 @@ 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 skip_previews:true

Expand Down

0 comments on commit 98d1cc7

Please sign in to comment.