mirror of
https://github.com/tiffany352/rink-rs
synced 2024-11-10 05:34:14 +00:00
Fix pattern in kcov invocation
The old pattern would ignore test executables whose file name ends with a 'd'. This should not happen any longer
This commit is contained in:
parent
5beb4ba987
commit
60e644d17d
1 changed files with 4 additions and 1 deletions
|
@ -31,6 +31,9 @@ after_success: |
|
|||
make install DESTDIR=../../kcov-build &&
|
||||
cd ../.. &&
|
||||
rm -rf kcov-master &&
|
||||
for file in target/debug/*-*[^\.d]; do mkdir -p "target/cov/$(basename $file)"; ./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; done &&
|
||||
for file in target/debug/*-*[^\.]?;
|
||||
do mkdir -p "target/cov/$(basename $file)";
|
||||
./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file";
|
||||
done &&
|
||||
bash <(curl -s https://codecov.io/bash) &&
|
||||
echo "Uploaded code coverage"
|
||||
|
|
Loading…
Reference in a new issue