Skip to content

Commit 38ed4ba

Browse files
committed
chore: do not build in release
1 parent 075c1b0 commit 38ed4ba

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

tests/live/template_tests.py

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def test(self, template_name, template_info):
7777
if Settings.ENV != EnvironmentType.LIVE:
7878
App.update(app_name=app_name)
7979

80-
# Run Android with bundle
80+
# Run Android
8181
Adb.open_home(id=self.emu.id)
8282
Tns.run_android(app_name=app_name, device=self.emu.id, bundle=True)
8383
if template_info.texts is not None:
@@ -86,7 +86,7 @@ def test(self, template_name, template_info):
8686
else:
8787
self.emu.wait_for_main_color(color=Colors.WHITE)
8888

89-
# Run iOS with bundle
89+
# Run iOS
9090
if Settings.HOST_OS is OSType.OSX:
9191
Tns.run_ios(app_name=app_name, device=self.sim.id, bundle=True)
9292
if template_info.texts is not None:
@@ -95,10 +95,5 @@ def test(self, template_name, template_info):
9595
else:
9696
self.sim.wait_for_main_color(color=Colors.WHITE)
9797

98-
# Build in release
99-
Tns.build_android(app_name=app_name, release=True, bundle=True, aot=True, uglify=True, snapshot=True)
100-
if Settings.HOST_OS is OSType.OSX:
101-
Tns.build_ios(app_name=app_name, release=True, for_device=True, bundle=True, aot=True, uglify=True)
102-
10398
# Cleanup
10499
Folder.clean(local_path)

0 commit comments

Comments
 (0)