chore: Added unit Tests #23
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
# This workflow will test a Swift project | |
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-swift | |
name: Unit Tests | |
on: | |
- pull_request | |
concurrency: | |
group: ${{ github.ref_name }} | |
cancel-in-progress: true | |
jobs: | |
test-ios: | |
name: iOS 18.1 | |
runs-on: macos-latest | |
env: | |
DEVELOPER_DIR: "/Applications/Xcode_16.1.app/Contents/Developer" | |
steps: | |
# Checkout the repository | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
# Run Unit Tests | |
- name: Run tests | |
run: | | |
xcodebuild test \ | |
-scheme EDXMobileAnalytics \ | |
-sdk iphonesimulator \ | |
-destination "OS=18.1,name=iPhone 16 Pro" \ | |
-skipPackagePluginValidation \ | |
-skipMacroValidation |