Skip to content

Commit

Permalink
chore: add unit tests for macOS (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
harsh62 authored Nov 2, 2023
1 parent 000062a commit 1f9514e
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions .github/workflows/unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,20 @@ on:
branches: [ main ]

jobs:
build:
unit-test-ios:

runs-on: macos-latest

steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Test Authenticator
- name: Unit test Authenticator on iOS
run: xcodebuild test -scheme Authenticator -sdk 'iphonesimulator' -destination 'platform=iOS Simulator,name=iPhone 14,OS=latest' | xcpretty --simple --color --report junit && exit ${PIPESTATUS[0]}

unit-test-macos:

runs-on: macos-latest

steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Unit test Authenticator on macOS
run: xcodebuild test -scheme Authenticator -sdk 'macosx' -destination 'platform=macOS,arch=x86_64' | xcpretty --simple --color --report junit && exit ${PIPESTATUS[0]}

0 comments on commit 1f9514e

Please sign in to comment.