Skip to content

Commit

Permalink
chore: debug code coverage action
Browse files Browse the repository at this point in the history
  • Loading branch information
phantumcode committed Jan 24, 2024
1 parent 62bca9b commit 0e6c802
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/composite_actions/run_xcodebuild_test/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ runs:
cd $(ls -d */|head -n 1)
pathCoverage=Build/Build/ProfileData/${PWD##*/}/Coverage.profdata
cd ${{ github.workspace }}
xcrun llvm-cov export -format="lcov" -instr-profile $pathCoverage Build/Build/Products/Debug-${{ inputs.sdk }}/$SCHEME.o > $SCHEME-Coverage.lcov
xcrun llvm-cov export -format="lcov" -instr-profile $pathCoverage Build/Build/Products/Debug-${{ inputs.sdk }}/FaceLiveness.o > Coverage.lcov
cd Build/Build/Products/Debug-${{ inputs.sdk }}
ls
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/liveness_unit_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
continue-on-error: false
uses: ./.github/composite_actions/run_xcodebuild_test
with:
scheme: FaceLiveness
scheme: AmplifyUILiveness
destination: 'platform=iOS Simulator,name=iPhone 14,OS=16.4'
xcode_path: '/Applications/Xcode_14.3.app'
generate_coverage: true

0 comments on commit 0e6c802

Please sign in to comment.