Skip to content

Commit

Permalink
do not build image in integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
diegomarquezp committed Sep 17, 2024
1 parent 90dafe3 commit b730a4b
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions library_generation/test/integration_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ class IntegrationTest(unittest.TestCase):
@classmethod
def setUpClass(cls) -> None:
cls.__download_generator_jar(coordinates_file=generator_jar_coordinates_file)
cls.__build_image(docker_file=build_file, cwd=repo_root_dir)

@classmethod
def setUp(cls) -> None:
Expand Down Expand Up @@ -189,15 +188,6 @@ def test_entry_point_running_in_container(self):
print(" PR description comparison succeed.")
self.__remove_generated_files()

@classmethod
def __build_image(cls, docker_file: str, cwd: str):
# we build the docker image without removing intermediate containers so
# we can re-test more quickly
subprocess.check_call(
["docker", "build", "-f", docker_file, "-t", image_tag, "."],
cwd=cwd,
)

@classmethod
def __download_generator_jar(cls, coordinates_file: str) -> None:
"""
Expand Down

0 comments on commit b730a4b

Please sign in to comment.