Skip to content

Commit

Permalink
Add tensorboard example to integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
stefannica committed Mar 7, 2022
1 parent 2806dc5 commit dfebffa
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/tensorboard/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

from rich import print

from zenml.integrations.constants import AWS, TENSORFLOW
from zenml.integrations.constants import TENSORFLOW
from zenml.pipelines import pipeline
from zenml.repository import Repository
from zenml.steps import BaseStepConfig, Output, StepContext, step
Expand Down Expand Up @@ -107,7 +107,7 @@ def tf_evaluator(


# Define the pipeline
@pipeline(required_integrations=[TENSORFLOW, AWS], enable_cache=False)
@pipeline(required_integrations=[TENSORFLOW], enable_cache=False)
def mnist_pipeline(
importer,
normalizer,
Expand Down
7 changes: 7 additions & 0 deletions tests/integration/test_examples.py
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,13 @@ class ExampleIntegrationTestConfiguration(NamedTuple):
step_count=4,
),
),
ExampleIntegrationTestConfiguration(
name="tensorboard",
validation_function=generate_basic_validation_function(
pipeline_name="mnist_pipeline",
step_count=4,
),
),
]

# flake8: noqa: C901
Expand Down

0 comments on commit dfebffa

Please sign in to comment.