Skip to content

Commit

Permalink
no tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Tachi107 committed Jan 13, 2024
1 parent 73afe58 commit 51a49a6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/linux.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,16 @@ jobs:
- name: Coverage
if: ${{ !contains(matrix.os, 'redhat') }}
run: |
mkdir -p "$HOME/.local/bin"
mkdir -p $HOME/.local/bin
if [ "${{ matrix.compiler }}" = 'clang' ]
then
printf '#!/bin/sh\nllvm-cov gcov "$@"\n' > $HOME/.local/bin/cov.sh
else
printf '#!/bin/sh\ngcov "$@"\n' > $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 cov.sh --branch-probabilities --preserve-paths --relative-only
find .. -name '*.gcda' -o -name '*.gcno' | grep -v tests | 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 Down

0 comments on commit 51a49a6

Please sign in to comment.