Skip to content

Commit

Permalink
CI shell UDK tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
tuokri committed Nov 13, 2023
1 parent de8a6fc commit aa906ef
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/udk-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ jobs:
- name: Run UDK build and test script
timeout-minutes: 1
shell: PowerShell
run: python .\tests\UDKTests\setup_udk_build_env.py
run: python .\tests\UDKTests\setup_udk_build_env.py --use-shell

- name: TEST TODO
timeout-minutes: 1
Expand Down
10 changes: 6 additions & 4 deletions tests/UDKTests/setup_udk_build_env.py
Original file line number Diff line number Diff line change
Expand Up @@ -280,8 +280,9 @@ async def run_udk_build(

print(f"proc: {proc}")

while line := await proc.stdout.readline():
print(f"### LINE: '{line.strip()}'")
if use_shell:
while line := await proc.stdout.readline():
print(f"### LINE: '{line.strip()}'")

ok = building_event.wait(timeout=UDK_TEST_TIMEOUT)

Expand Down Expand Up @@ -342,8 +343,9 @@ async def run_udk_server(

print(f"proc: {test_proc}")

while line := await test_proc.stdout.readline():
print(f"### LINE: '{line.strip()}'")
if use_shell:
while line := await test_proc.stdout.readline():
print(f"### LINE: '{line.strip()}'")

ok = testing_event.wait(timeout=UDK_TEST_TIMEOUT)

Expand Down

0 comments on commit aa906ef

Please sign in to comment.