Skip to content

Commit 1f9514e

Browse files
authored
chore: add unit tests for macOS (#49)
1 parent 000062a commit 1f9514e

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

.github/workflows/unit_tests.yml

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,20 @@ on:
77
branches: [ main ]
88

99
jobs:
10-
build:
10+
unit-test-ios:
1111

1212
runs-on: macos-latest
1313

1414
steps:
1515
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
16-
- name: Test Authenticator
16+
- name: Unit test Authenticator on iOS
1717
run: xcodebuild test -scheme Authenticator -sdk 'iphonesimulator' -destination 'platform=iOS Simulator,name=iPhone 14,OS=latest' | xcpretty --simple --color --report junit && exit ${PIPESTATUS[0]}
18+
19+
unit-test-macos:
20+
21+
runs-on: macos-latest
22+
23+
steps:
24+
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
25+
- name: Unit test Authenticator on macOS
26+
run: xcodebuild test -scheme Authenticator -sdk 'macosx' -destination 'platform=macOS,arch=x86_64' | xcpretty --simple --color --report junit && exit ${PIPESTATUS[0]}

0 commit comments

Comments
 (0)