Skip to content

Commit

Permalink
chore: add workflow to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
vkaltyrin committed Mar 29, 2024
1 parent 5d7cf52 commit 1948eb9
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/run_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: iOS Unit Tests

on: [push, pull_request]

jobs:
test:
runs-on: macos-latest
environment: sdds
strategy:
matrix:
scheme: ["SDDSUIKit", "SDDSSwiftUI", "SDDSCore", "SDDSIcons"]

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Xcode
uses: maxim-lobanov/setup-xcode@v1
with:
xcode-version: 'latest'

- name: Run Unit Tests
run: |
set -o -pipefail
xcodebuild test -workspace SDDS.xcworkspace -scheme ${{ matrix.scheme }} -destination 'platform=iOS Simulator,name=iPhone 13,OS=latest' | xcpretty

0 comments on commit 1948eb9

Please sign in to comment.