Update swift.yml #2
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This workflow will build a Swift project | |
| # For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift | |
| name: SwiftUI-WorkoutApp CI | |
| on: | |
| push: | |
| branches: [ "main", "develop" ] | |
| pull_request: | |
| branches: [ "main", "develop" ] | |
| jobs: | |
| test: | |
| runs-on: macos-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Build and Test | |
| run: | | |
| xcodebuild build \ | |
| -scheme "SwiftUI-WorkoutApp" \ | |
| -destination "platform=iOS Simulator,OS=latest" \ | |
| CODE_SIGNING_ALLOWED=NO | |
| # Запуск тестов с тест-планом | |
| xcodebuild test \ | |
| -scheme "SwiftUI-WorkoutApp" \ | |
| -testPlan "SwiftUI-WorkoutApp" \ | |
| -destination "platform=iOS Simulator,OS=latest" \ | |
| CODE_SIGNING_ALLOWED=NO |