Skip to content

Commit

Permalink
Add extra marks to VertexAI IT tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jrmccluskey committed Sep 19, 2023
1 parent 8f60924 commit f2b92ec
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
from apache_beam.testing.test_pipeline import TestPipeline

try:
import tensorflow as tf
from apache_beam.examples.inference import vertex_ai_image_classification
from apache_beam.examples.inference import vertex_ai_llm_text_classification
except ImportError as e:
Expand All @@ -45,6 +46,10 @@


class VertexAIInference(unittest.TestCase):
@unittest.skipIf(
tf is None, 'Missing dependencies. '
'Test depends on tensorflow')
@pytest.mark.uses_tf
@pytest.mark.uses_vertex_ai
@pytest.mark.it_postcommit
def test_vertex_ai_run_flower_image_classification(self):
Expand Down

0 comments on commit f2b92ec

Please sign in to comment.