fix: avoid invoking onCompletion handler twice for non-service errors #230
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 ] | |
permissions: | |
contents: read | |
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 16 Pro Max,OS=18.5' | |
generate_coverage: true |