1
0
mirror of https://github.com/bspeice/qadapt synced 2024-11-25 15:28:11 -05:00

Don't include tests in codecov

This commit is contained in:
Bradlee Speice 2018-12-02 23:45:10 -05:00
parent a31bacf9fd
commit 975f041523

View File

@ -56,7 +56,7 @@ after_success: |
rm -rf kcov-master && \ rm -rf kcov-master && \
for file in target/debug/*-*[^\.d]; do \ for file in target/debug/*-*[^\.d]; do \
mkdir -p "target/cov/$(basename $file)"; \ mkdir -p "target/cov/$(basename $file)"; \
./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib --verify "target/cov/$(basename $file)" "$file"; \ ./kcov-build/usr/local/bin/kcov --exclude-pattern=/.cargo,/usr/lib,tests/ --verify "target/cov/$(basename $file)" "$file"; \
done && \ done && \
bash <(curl -s https://codecov.io/bash) && \ bash <(curl -s https://codecov.io/bash) && \
echo "Uploaded code coverage" echo "Uploaded code coverage"