Skip to content

chore: fix release workflow #69

chore: fix release workflow

chore: fix release workflow #69

name: Run Unit Tests | Amplify UI Swift Liveness
on:
workflow_dispatch:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: macos-latest
steps:
- uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
persist-credentials: false
- name: Test FaceLiveness
with:
scheme: AmplifyUILiveness
destination: 'platform=iOS Simulator,name=iPhone 14,OS=16.4'
xcode_path: '/Applications/Xcode_14.3.app'
generate_coverage: true
- name: Upload Coverage report to Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
flags: 'unittests'