mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
Problem: Code codecoverage does not work (#2355).
* Problem: Code coverage does not work. * Solution: Fix the code coverage script.
This commit is contained in:
parent
971efb5f1c
commit
119dcef75f
@ -2,6 +2,6 @@
|
||||
|
||||
set -e -x
|
||||
|
||||
if [[ -z ${TOXENV} ]]; then
|
||||
codecov -v
|
||||
if [[ -z ${TOXENV} ]] && [[ ${BIGCHAINDB_CI_ABCI} != 'enable' ]] && [[ ${BIGCHAINDB_ACCEPTANCE_TEST} != 'enable' ]]; then
|
||||
codecov -v -f htmlcov/coverage.xml
|
||||
fi
|
||||
|
@ -9,5 +9,5 @@ elif [[ ${BIGCHAINDB_CI_ABCI} == 'enable' ]]; then
|
||||
elif [[ ${BIGCHAINDB_ACCEPTANCE_TEST} == 'enable' ]]; then
|
||||
./run-acceptance-test.sh
|
||||
else
|
||||
docker-compose exec bigchaindb pytest -v --cov=bigchaindb
|
||||
docker-compose exec bigchaindb pytest -v --cov=bigchaindb --cov-report xml:htmlcov/coverage.xml
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user