Skip to content

[EMBR-4464] Hook Swift tests up to CI #9

[EMBR-4464] Hook Swift tests up to CI

[EMBR-4464] Hook Swift tests up to CI #9

Workflow file for this run

name: packages/core/ios Unit Test
on:
pull_request:
branches:
- 5.0 # TBD update branch name
jobs:
build:
runs-on: macos-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: '18.x'
- name: Enable Corepack
run: corepack enable
- name: Yarn dependencies | Global
run: |
yarn install
- name: Yarn dependencies | Test Project
run: |
cd packages/core/test-project
yarn install
- name: CocoaPods
run: |
cd packages/core/test-project/ios
sudo gem install cocoapods
pod install --repo-update
- name: Run iOS unit tests
run: |
cd packages/core
yarn run ios:test