run wallet unit tests separate from the other twisted trial based tests

This commit is contained in:
Lex Berezhny 2018-10-15 23:04:04 -04:00
parent 64e306801d
commit 99efc70ba3
2 changed files with 5 additions and 2 deletions

View file

@ -23,8 +23,11 @@ jobs:
- pip install git+https://github.com/lbryio/torba.git - pip install git+https://github.com/lbryio/torba.git
- pip install git+https://github.com/lbryio/lbryschema.git - pip install git+https://github.com/lbryio/lbryschema.git
- pip install -e .[test] - pip install -e .[test]
script: HOME=/tmp coverage run --source=lbrynet -m twisted.trial --reactor=asyncio tests.unit script:
- HOME=/tmp coverage run -p --source=lbrynet -m unittest discover -v tests.unit.wallet
- HOME=/tmp coverage run -p --source=lbrynet -m twisted.trial --reactor=asyncio tests.unit.analytics tests.unit.components tests.unit.core tests.unit.cryptstream tests.unit.database tests.unit.dht tests.unit.lbryfilemanager tests.unit.lbrynet_daemon tests.unit.test_cli tests.unit.test_customLogger
after_success: after_success:
- coverage combine
- bash <(curl -s https://codecov.io/bash) - bash <(curl -s https://codecov.io/bash)
- <<: *tests - <<: *tests

View file

@ -255,7 +255,7 @@ class Resolver:
results = [] results = []
for claim in (await iter_validate_channel_claims()): for claim in await iter_validate_channel_claims():
results.append(claim) results.append(claim)
# if there is a full page of results, yield it # if there is a full page of results, yield it