forked from LBRYCommunity/lbry-sdk
trying codecov
This commit is contained in:
parent
db1f984558
commit
82062b5601
2 changed files with 7 additions and 6 deletions
10
.github/workflows/main.yml
vendored
10
.github/workflows/main.yml
vendored
|
@ -47,11 +47,13 @@ jobs:
|
|||
- run: |
|
||||
pip install --user --upgrade pip wheel
|
||||
pip install -e .[test]
|
||||
- working-directory: lbry
|
||||
env:
|
||||
- env:
|
||||
HOME: /tmp
|
||||
run: coverage run -p --source=lbry -m unittest -vv tests.unit.test_conf
|
||||
# run: coverage run -p --source=lbry -m unittest discover -vv tests.unit
|
||||
run: coverage run -m unittest -vv tests.unit.test_conf
|
||||
# run: coverage run -m unittest discover -vv tests.unit
|
||||
- uses: codecov/codecov-action@v1
|
||||
with:
|
||||
flags: unit-${{ matrix.os }}
|
||||
|
||||
tests-integration:
|
||||
name: "tests / integration"
|
||||
|
|
|
@ -11,7 +11,6 @@ from lbry.schema.mime_types import guess_media_type
|
|||
from lbry.stream.downloader import StreamDownloader
|
||||
from lbry.stream.descriptor import StreamDescriptor, sanitize_file_name
|
||||
from lbry.stream.reflector.client import StreamReflectorClient
|
||||
from lbry.extras.daemon.storage import StoredContentClaim
|
||||
from lbry.blob import MAX_BLOB_SIZE
|
||||
|
||||
if typing.TYPE_CHECKING:
|
||||
|
@ -78,7 +77,7 @@ class ManagedStream:
|
|||
|
||||
def __init__(self, loop: asyncio.AbstractEventLoop, config: 'Config', blob_manager: 'BlobManager',
|
||||
sd_hash: str, download_directory: typing.Optional[str] = None, file_name: typing.Optional[str] = None,
|
||||
status: typing.Optional[str] = STATUS_STOPPED, claim: typing.Optional[StoredContentClaim] = None,
|
||||
status: typing.Optional[str] = STATUS_STOPPED, claim: typing.Optional['StoredContentClaim'] = None,
|
||||
download_id: typing.Optional[str] = None, rowid: typing.Optional[int] = None,
|
||||
descriptor: typing.Optional[StreamDescriptor] = None,
|
||||
content_fee: typing.Optional['Transaction'] = None,
|
||||
|
|
Loading…
Reference in a new issue