maxep 6 yıl önce
ebeveyn
işleme
9f030dbd68
1 değiştirilmiş dosya ile 4 ekleme ve 2 silme
  1. 4 2
      .github/actions/spm-lcov-action/cov.sh

+ 4 - 2
.github/actions/spm-lcov-action/cov.sh

@@ -1,12 +1,14 @@
 #!/bin/sh -l
-​
+
+PATH=$PATH
 BIN_PATH="$(swift build --show-bin-path)"
 XCTEST_PATH="$(find ${BIN_PATH} -name '*.xctest')"
-​
 COV_BIN=$XCTEST_PATH
+
 if [[ "$OSTYPE" == "darwin"* ]]; then
     f="$(basename $XCTEST_PATH .xctest)"
     COV_BIN="${COV_BIN}/Contents/MacOS/$f"
+    PATH="/usr/local/opt/llvm/bin:$PATH"​
 fi
 llvm-cov report \