Skip to content

Commit 21f31d0

Browse files
authored
test: fix unit test GitHub action workflow (#55)
* chore: fix unit test GH action * chore: fix unit test GH action * chore: fix unit test GH action * revert test branch
1 parent 20a8ad8 commit 21f31d0

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

.github/workflows/liveness_unit_tests.yml

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,18 @@ on:
88
branches: [ main ]
99

1010
jobs:
11-
build:
12-
runs-on: macos-latest
11+
test-iOS:
12+
name: Liveness iOS Unit Tests
13+
runs-on: macos-13
14+
timeout-minutes: 30
1315
steps:
1416
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
1517
with:
1618
persist-credentials: false
1719
- name: Test FaceLiveness
20+
continue-on-error: false
21+
uses: ./.github/composite_actions/run_xcodebuild_test
1822
with:
1923
scheme: AmplifyUILiveness
2024
destination: 'platform=iOS Simulator,name=iPhone 14,OS=16.4'
21-
xcode_path: '/Applications/Xcode_14.3.app'
22-
generate_coverage: true
23-
- name: Upload Coverage report to Codecov
24-
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
25-
with:
26-
flags: 'unittests'
25+
xcode_path: '/Applications/Xcode_14.3.app'

0 commit comments

Comments
 (0)