Skip to content

Commit

Permalink
test(datasets): skip tensorflow tests on Windows (kedro-org#363)
Browse files Browse the repository at this point in the history
Signed-off-by: Deepyaman Datta <deepyaman.datta@utexas.edu>
Signed-off-by: Riley Brady <riley_brady@mckinsey.com>
  • Loading branch information
deepyaman authored and riley-brady committed Oct 15, 2023
1 parent 9bb8063 commit 99d80fd
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import importlib
import sys
from pathlib import PurePosixPath

import numpy as np
Expand All @@ -12,6 +13,12 @@
from kedro_datasets import KedroDeprecationWarning
from kedro_datasets._io import DatasetError

if sys.platform == "win32":
pytest.skip(
"TensorFlow tests have become inexplicably flaky in Windows CI",
allow_module_level=True,
)


# In this test module, we wrap tensorflow and TensorFlowModelDataset imports into a module-scoped
# fixtures to avoid them being evaluated immediately when a new test process is spawned.
Expand Down

0 comments on commit 99d80fd

Please sign in to comment.