Skip to content

test: fix unit test GitHub action workflow (#55) #67

test: fix unit test GitHub action workflow (#55)

test: fix unit test GitHub action workflow (#55) #67

name: Run Unit Tests | Amplify UI Swift Liveness
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
test-iOS:
name: Liveness iOS Unit Tests
runs-on: macos-13
timeout-minutes: 30
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
persist-credentials: false
- name: Test FaceLiveness
continue-on-error: false
uses: ./.github/composite_actions/run_xcodebuild_test
with:
scheme: AmplifyUILiveness
destination: 'platform=iOS Simulator,name=iPhone 14,OS=16.4'
xcode_path: '/Applications/Xcode_14.3.app'