mirror of
https://github.com/bigchaindb/bigchaindb.git
synced 2024-10-13 13:34:05 +00:00
12 lines
233 B
Bash
Executable File
12 lines
233 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e -x
|
|
|
|
if [[ -n ${TOXENV} ]]; then
|
|
tox -e ${TOXENV}
|
|
elif [[ "${BIGCHAINDB_DATABASE_BACKEND}" == mongodb ]]; then
|
|
pytest -v --database-backend=mongodb --cov=bigchaindb
|
|
else
|
|
pytest -v -n auto --cov=bigchaindb
|
|
fi
|