-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
35 additions
and
2 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
# 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 |
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