Skip to content

Commit

Permalink
chore: added unit_test workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
rnr committed Jan 16, 2025
1 parent 472181d commit 71e6e54
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 2 deletions.
33 changes: 33 additions & 0 deletions .github/workflows/unit_tests.yml
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
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"originHash" : "c0bd9c8ff1fb7e8685784dbbcc68161a650dfd2dd2edf28609fcdc846183a2f5",
"originHash" : "24865ce1a5bdb12bdf2082dc9a6b3b327986ee32238127921bf6e08f58b56e7f",
"pins" : [
{
"identity" : "abseil-cpp-binary",
Expand Down Expand Up @@ -178,7 +178,7 @@
"location" : "https://github.com/rnr/openedx-app-foundation-ios.git",
"state" : {
"branch" : "anton/plugins-experiments",
"revision" : "563721c48b4072314557af4f09827f2fabd9ee40"
"revision" : "374beefe2271233e10c5fa5a012779689d05d817"
}
},
{
Expand Down

0 comments on commit 71e6e54

Please sign in to comment.