Skip to content

Commit

Permalink
Create ios-tests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
steinbro authored Oct 9, 2023
1 parent fe13b29 commit 7779552
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/ios-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: ios-tests
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
unit-tests:
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- run: cd apps/ios && bundle install && gem uninstall cocoapods --version '>= 1.12.0'
# cocoapods-patch does not support cocoapods 1.12.0 yet
- run: cd apps/ios && pod install
- name: Build
run: xcodebuild build-for-testing -workspace apps/ios/GuideDogs.xcworkspace -scheme Soundscape -destination 'platform=iOS Simulator,name=iPhone 13'
- name: Test
run: xcodebuild test-without-building -workspace apps/ios/GuideDogs.xcworkspace -scheme Soundscape -destination 'platform=iOS Simulator,name=iPhone 13'

0 comments on commit 7779552

Please sign in to comment.