Skip to content

Commit

Permalink
Merge pull request #120 from SURYAKANTSHARMA/SURYAKANTSHARMA-patch-1
Browse files Browse the repository at this point in the history
Update swift.yml
  • Loading branch information
SURYAKANTSHARMA authored May 4, 2024
2 parents 45492ad + 52ff842 commit b852bd5
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ name: Swift

on:
push:
branches: [ master ]
branches: [ main ]
pull_request:
branches: [ master ]
branches: [ main ]

jobs:
build:
Expand All @@ -14,9 +14,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Build app
run: xcodebuild clean build test -enableCodeCoverage YES -project CountryPicker/Framework/Framework.xcodeproj -scheme Framework -destination 'platform=iOS Simulator,name=iPhone 15' ONLY_ACTIVE_ARCH=YES
run: xcodebuild clean build test -enableCodeCoverage YES -project Framework/CountryPicker.xcodeproj -scheme Framework -destination 'platform=iOS Simulator,name=iPhone 15' ONLY_ACTIVE_ARCH=YES

- name: Run tests
run: xcodebuild -project 'CountryPicker/Framework/Framework.xcodeproj' -scheme 'Framework' -destination 'platform=iOS Simulator,name=iPhone 15' test | xcpretty


run: xcodebuild -project 'Framework/CountryPicker.xcodeproj' -scheme 'Framework' -destination 'platform=iOS Simulator,name=iPhone 15' test | xcpretty

0 comments on commit b852bd5

Please sign in to comment.