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

chore: run ios unit test on ci #855

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
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
35 changes: 35 additions & 0 deletions .github/workflows/iOSTest.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: iOS Test

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

concurrency:
group: ios-test-${{ github.ref }}
cancel-in-progress: true

jobs:
test-ios:
runs-on: macos-13

steps:
- name: Checkout
uses: actions/checkout@c85c95e3d7251135ab7dc9ce3241c5835cc595a9 # v3.5.3

- name: Set up Ruby
uses: ruby/setup-ruby@250fcd6a742febb1123a77a841497ccaa8b9e939 # v1.152.0
with:
bundler-cache: true

- uses: ./.github/actions/xcode-select

- uses: ./.github/actions/setup-java

- name: Set up XCFramework arch filter
run: echo "arch=x86_64" >> local.properties

- uses: ./.github/actions/spm

- run: bundle exec fastlane test
working-directory: app-ios
1 change: 0 additions & 1 deletion app-ios/fastlane/Fastfile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ platform :ios do
xcargs: "-skipPackagePluginValidation",
project: project,
scheme: scheme,
skip_build: true,
derived_data_path: derived_data_path,
destination: destination
)
Expand Down