mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-09 23:10:24 +01:00
tests: temporarily skip dvclive tests (#5513)
This commit is contained in:
@@ -88,7 +88,6 @@ install_requires = [
|
||||
"pyparsing==2.4.7",
|
||||
"typing_extensions>=3.7.4",
|
||||
"fsspec>=0.8.5",
|
||||
"dvclive>=0.0.1a0",
|
||||
"diskcache>=5.2.1",
|
||||
]
|
||||
|
||||
|
||||
@@ -54,6 +54,11 @@ LIVE_CHECKPOINT_SCRIPT = dedent(
|
||||
|
||||
@pytest.fixture
|
||||
def live_stage(tmp_dir, scm, dvc):
|
||||
try:
|
||||
import dvclive # noqa, pylint:disable=unused-import
|
||||
except ImportError:
|
||||
pytest.skip("no dvclive")
|
||||
|
||||
def make(summary=True, html=True, live=None, live_no_cache=None):
|
||||
assert bool(live) != bool(live_no_cache)
|
||||
tmp_dir.gen("train.py", LIVE_SCRITP)
|
||||
@@ -167,6 +172,11 @@ def test_live_html(tmp_dir, dvc, live_stage, html):
|
||||
|
||||
@pytest.fixture
|
||||
def live_checkpoint_stage(tmp_dir, scm, dvc):
|
||||
try:
|
||||
import dvclive # noqa, pylint:disable=unused-import
|
||||
except ImportError:
|
||||
pytest.skip("no dvclive")
|
||||
|
||||
def make(live=None, live_no_cache=None):
|
||||
assert bool(live) != bool(live_no_cache)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user