From b57daf76ba0ab7691aa15dd3bbbc8b42d8d7dc7a Mon Sep 17 00:00:00 2001 From: Tuan Pham Date: Wed, 24 Jan 2024 09:57:15 -0600 Subject: [PATCH] chore: debug code coverage action --- .github/composite_actions/run_xcodebuild_test/action.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/composite_actions/run_xcodebuild_test/action.yml b/.github/composite_actions/run_xcodebuild_test/action.yml index f9e31e4f..96faf35e 100644 --- a/.github/composite_actions/run_xcodebuild_test/action.yml +++ b/.github/composite_actions/run_xcodebuild_test/action.yml @@ -64,6 +64,9 @@ runs: cd $(ls -d */|head -n 1) pathCoverage=Build/Build/ProfileData/${PWD##*/}/Coverage.profdata cd ${{ github.workspace }} + cd Build/Build/Products/Debug-iphonesimulator/ + ls + cd ${{ github.workspace }} xcrun llvm-cov export -format="lcov" -instr-profile $pathCoverage Build/Build/Products/Debug-iphonesimulator/$SCHEME.o > Coverage.lcov shell: bash