Skip to content

Commit

Permalink
Update unit-test.yml (#251)
Browse files Browse the repository at this point in the history
* Update unit-test.yml

update unit test pipeline

* Update unit-test.yml
  • Loading branch information
kishorepran authored Nov 22, 2024
1 parent 7671df0 commit 2431c01
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/workflows/unit-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,25 @@ jobs:
SwiftLint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4
- name: GitHub Action for SwiftLint
uses: norio-nomura/action-swiftlint@3.2.1

build:
name: Build and Test default scheme using iPhone simulator
runs-on: macos-13
runs-on: macos-15

steps:
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
- name: Install and run 'bundle install'
uses: ruby/setup-ruby@v1
with:
ruby-version: 2.6
# runs 'bundle install' and caches installed gems automatically
bundler-cache: true
- name: Install npm
uses: actions/setup-node@v3
uses: actions/setup-node@v4
with:
node-version: 16
- name: Install Amplify
Expand Down Expand Up @@ -65,7 +65,7 @@ jobs:
- name: Set Xcode version
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: '15.1'
xcode-version: '16.1'
- name: Build For Test
run: |
xcodebuild test -scheme animeal -project animeal.xcodeproj -destination "platform=iOS Simulator,name=iPhone 14,OS=17.2" -parallelizeTargets -showBuildTimingSummary | xcbeautify --renderer github-actions
xcodebuild test -scheme animeal -project animeal.xcodeproj -destination "platform=iOS Simulator,name=iPhone 16,OS=18.1" -parallelizeTargets -showBuildTimingSummary | xcbeautify --renderer github-actions

0 comments on commit 2431c01

Please sign in to comment.