diff --git a/.github/workflows/ios.yml b/.github/workflows/ios.yml index 07d1db4b..94465236 100644 --- a/.github/workflows/ios.yml +++ b/.github/workflows/ios.yml @@ -23,16 +23,16 @@ jobs: - name: Clean run: | xcodebuild clean -project ./TwoFas/${{env.PROJECT_NAME}}.xcodeproj -scheme ${{env.SCHEME}} -destination 'generic/platform=iOS' - - name: Testing App - run: | - xcodebuild test -project ./TwoFas/${{env.PROJECT_NAME}}.xcodeproj -scheme ${{env.SCHEME}} -destination platform=iOS Simulator,OS=17.2,name=iPhone 15 Pro Max | xcpretty - - name: Build + - name: Build for Testing + if: always() run: | xcodebuild build-for-testing -project ./TwoFas/${{env.PROJECT_NAME}}.xcodeproj -scheme ${{env.SCHEME}} -sdk iphonesimulator - name: Run Tests + if: always() run: | xcodebuild test-without-building -project ./TwoFas/${{env.PROJECT_NAME}}.xcodeproj -scheme ${{env.SCHEME}} -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=17.2,name=iPhone 15 Pro Max' - name: Build/Release + if: always() uses: hectorguerrini/build-ios-action@v1.0.4