Skip to content

Commit c9111c9

Browse files
authored
chore: Enabling unit test workflow (#19)
1 parent 24efcc7 commit c9111c9

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

.github/workflows/unit_tests.yml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
1-
# name: Run Unit Tests
1+
name: Run Unit Tests
22

3-
# on:
4-
# push:
5-
# branches: [ main ]
6-
# pull_request:
7-
# branches: [ main ]
3+
on:
4+
push:
5+
branches: [ main ]
6+
pull_request:
7+
branches: [ main ]
88

9-
# jobs:
10-
# build:
9+
jobs:
10+
build:
1111

12-
# runs-on: macos-latest
12+
runs-on: macos-latest
1313

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

0 commit comments

Comments
 (0)