Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: fix unit test GitHub action workflow #55

Merged
merged 4 commits into from
Oct 4, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 7 additions & 8 deletions .github/workflows/liveness_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,19 +8,18 @@ on:
branches: [ main ]

jobs:
build:
runs-on: macos-latest
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'
generate_coverage: true
- name: Upload Coverage report to Codecov
uses: codecov/codecov-action@eaaf4bedf32dbdc6b720b63067d99c4d77d6047d # v3.1.4
with:
flags: 'unittests'
xcode_path: '/Applications/Xcode_14.3.app'