Skip to content

chore: Added unit Tests #23

chore: Added unit Tests

chore: Added unit Tests #23

Workflow file for this run

# 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