Skip to content

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

[EMBR-4464] Hook Swift tests up to CI

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

Workflow file for this run

name: packages/core/ios Unit Test
on:
pull_request:
branches:
- 5.0 # TBD update branch name
jobs:
build:
strategy:
matrix:
node-version: [18.x]
os: [macos-latest]
swift: ["5.3"]
runs-on: ${{ matrix.os }}
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: "npm"
- run: corepack enable
- name: Yarn dependencies | Global
run: |
yarn install --immutable
- 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