Skip to content

Commit

Permalink
Skip imagegen tests in CI
Browse files Browse the repository at this point in the history
  • Loading branch information
BillSchumacher committed Apr 19, 2023
1 parent 7086961 commit 5b86682
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/test_image_gen.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import unittest
import hashlib
from PIL import Image

import os
from autogpt.config import Config
from autogpt.commands.image_gen import generate_image, generate_image_with_sd_webui
from autogpt.workspace import path_in_workspace
Expand All @@ -11,6 +11,7 @@ def lst(txt):
return txt.split(":")[1].strip()


@unittest.skipIf(os.getenv("CI"), "Skipping image generation tests")
class TestImageGen(unittest.TestCase):
def setUp(self):
self.config = Config()
Expand Down

0 comments on commit 5b86682

Please sign in to comment.