Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update unit-test.yml #251

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading