Skip to content

Commit

Permalink
run gcov with codecov
Browse files Browse the repository at this point in the history
  • Loading branch information
Tachi107 committed Jan 13, 2024
1 parent a3177f3 commit dc6651f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -103,8 +103,8 @@ jobs:
echo 'gcov "$@"' >> $HOME/.local/bin/cov.sh
fi
chmod +x $HOME/.local/bin/cov.sh
export PATH="$HOME/.local/bin:$PATH"
cd build
find .. -name '*.gcda' -o -name '*.gcno' | xargs $HOME/.local/bin/cov.sh --branch-probabilities --preserve-paths --relative-only
curl --remote-name-all \
https://keybase.io/codecovsecurity/pgp_keys.asc \
https://uploader.codecov.io/latest/linux/codecov \
Expand All @@ -113,4 +113,4 @@ jobs:
sqop verify codecov.SHA256SUM.sig pgp_keys.asc < codecov.SHA256SUM
sha256sum --check codecov.SHA256SUM
chmod +x codecov
./codecov
./codecov --verbose --gcov --gcovExecutable cov.sh --gcovArgs '--branch-probabilities --preserve-paths --relative-only' --gcovIgnore '**/tests/**'

0 comments on commit dc6651f

Please sign in to comment.