Skip to content

Commit

Permalink
added gh action
Browse files Browse the repository at this point in the history
  • Loading branch information
InderKumarRathore committed Jul 21, 2024
1 parent 93919c5 commit 8055218
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,14 @@ jobs:
runs-on: macos-latest

steps:
- uses: actions/checkout@v3
- name: Checkout repository
uses: actions/checkout@v3
- name: Build and Test
- name: Build
run: swift build -v
- name: Run tests
run: swift test -v
run: |
xcodebuild \
-project DeviceGuru.xcodeproj \
-scheme DeviceGuru \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,name=iPhone 14,OS=17.4' \
test || exit 1

0 comments on commit 8055218

Please sign in to comment.