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