2018-07-07 00:31:35 +02:00
|
|
|
[testenv]
|
|
|
|
deps =
|
|
|
|
coverage
|
2020-06-07 03:00:38 +02:00
|
|
|
codecov
|
2019-05-24 22:14:47 +02:00
|
|
|
|
2018-07-07 00:31:35 +02:00
|
|
|
extras = test
|
|
|
|
changedir = {toxinidir}/tests
|
|
|
|
setenv =
|
|
|
|
HOME=/tmp
|
2020-06-07 02:54:34 +02:00
|
|
|
passenv = *
|
|
|
|
whitelist_externals = /bin/bash
|
2018-07-07 00:31:35 +02:00
|
|
|
commands =
|
2020-06-07 02:54:34 +02:00
|
|
|
blockchain: coverage run --source={envsitepackagesdir}/lbry -m unittest -vv integration.blockchain.test_claim_commands.ChannelCommands.test_create_channel_names {posargs}
|
2020-06-05 06:35:22 +02:00
|
|
|
#blockchain: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.blockchain {posargs}
|
2020-06-07 02:54:34 +02:00
|
|
|
#datanetwork: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.datanetwork {posargs}
|
|
|
|
#other: coverage run -p --source={envsitepackagesdir}/lbry -m unittest discover -vv integration.other {posargs}
|
2020-06-07 03:00:38 +02:00
|
|
|
codecov -F integration,{envname},{env:TEST_DB}
|