feat: add no-light/facemovementonly challenge and back camera support… #221
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run Unit Tests | Amplify UI Swift Liveness | |
on: | |
workflow_dispatch: | |
workflow_call: | |
inputs: | |
identifier: | |
required: true | |
type: string | |
push: | |
branches: [ main ] | |
pull_request: | |
branches: [ main ] | |
jobs: | |
test-iOS: | |
name: Liveness iOS Unit Tests | |
runs-on: macos-latest | |
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: FaceLiveness | |
token: ${{ secrets.CODECOV_TOKEN }} | |
destination: 'platform=iOS Simulator,name=iPhone 15,OS=latest' | |
generate_coverage: true |