[EMBR-4464] Hook Swift tests up to CI #2
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: '16.x' | |
- name: Yarn dependencies | |
run: | | |
cd packages/core | |
yarn install | |
- name: CocoaPods | |
run: | | |
cd packages/core/ios | |
sudo gem install cocoapods | |
pod install | |
- name: Run iOS unit tests | |
run: | | |
cd packages/core | |
yarn run ios:test |