mirror of
https://github.com/Stone-Red-Code/dvc.git
synced 2026-11-19 07:18:27 +01:00
run: rerun deterministic callback (#2254)
* run: rerun deterministic callback * test_run: refactor deterministic run tests to use pytest
This commit is contained in:
committed by
Ruslan Kuprieiev
parent
2c2f573897
commit
e8623a0c69
+5
-1
@@ -534,7 +534,11 @@ class Stage(object):
|
||||
|
||||
if validate_state:
|
||||
if os.path.exists(path):
|
||||
if not ignore_build_cache and stage.is_cached:
|
||||
if (
|
||||
not ignore_build_cache
|
||||
and stage.is_cached
|
||||
and not stage.is_callback
|
||||
):
|
||||
logger.info("Stage is cached, skipping.")
|
||||
return None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user