Skip to content

Commit dc6651f

Browse files
committed
run gcov with codecov
1 parent a3177f3 commit dc6651f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/linux.yaml

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,8 @@ jobs:
103103
echo 'gcov "$@"' >> $HOME/.local/bin/cov.sh
104104
fi
105105
chmod +x $HOME/.local/bin/cov.sh
106+
export PATH="$HOME/.local/bin:$PATH"
106107
cd build
107-
find .. -name '*.gcda' -o -name '*.gcno' | xargs $HOME/.local/bin/cov.sh --branch-probabilities --preserve-paths --relative-only
108108
curl --remote-name-all \
109109
https://keybase.io/codecovsecurity/pgp_keys.asc \
110110
https://uploader.codecov.io/latest/linux/codecov \
@@ -113,4 +113,4 @@ jobs:
113113
sqop verify codecov.SHA256SUM.sig pgp_keys.asc < codecov.SHA256SUM
114114
sha256sum --check codecov.SHA256SUM
115115
chmod +x codecov
116-
./codecov
116+
./codecov --verbose --gcov --gcovExecutable cov.sh --gcovArgs '--branch-probabilities --preserve-paths --relative-only' --gcovIgnore '**/tests/**'

0 commit comments

Comments
 (0)