Сборка артефактов на PR #4
Workflow file for this run
This file contains 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
name: iOS Unit Tests | |
on: | |
pull_request: | |
jobs: | |
test: | |
runs-on: macos-latest | |
environment: sdds | |
strategy: | |
matrix: | |
scheme: ["SDDSUIKit", "SDDSSwiftUI", "SDDSCore", "SDDSIcons"] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Set up Xcode | |
uses: maxim-lobanov/setup-xcode@v1 | |
with: | |
xcode-version: 'latest' | |
- name: Run Unit Tests | |
run: | | |
set -o pipefail | |
xcodebuild test -workspace SDDS.xcworkspace -scheme ${{ matrix.scheme }} -destination 'platform=iOS Simulator,name=iPhone 13,OS=latest' | xcpretty |