From 1a88597798ac5084b22763bad281f3e3cddaf0f3 Mon Sep 17 00:00:00 2001 From: Tornike Gomareli <24585160+tornikegomareli@users.noreply.github.com> Date: Wed, 18 Jun 2025 20:04:44 +0400 Subject: [PATCH] update --- .github/workflows/swift.yml | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index 21ae770..2d6c766 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -16,7 +16,17 @@ jobs: steps: - uses: actions/checkout@v4 - - name: Build - run: swift build -v + - name: Build for iOS Simulator + run: | + xcodebuild build \ + -scheme gitdiff \ + -sdk iphonesimulator \ + -destination 'platform=iOS Simulator,name=iPhone 15' \ + | xcpretty --simple --color - name: Run tests - run: swift test -v + run: | + xcodebuild test \ + -scheme gitdiff \ + -sdk iphonesimulator \ + -destination 'platform=iOS Simulator,name=iPhone 15' \ + | xcpretty --simple --color