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 b4c5d2f
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
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

0 comments on commit b4c5d2f

Please sign in to comment.