Skip to content

Commit aaf7b13

Browse files
committed
Fix IndentationError in verify step inline Python
1 parent fc02ace commit aaf7b13

1 file changed

Lines changed: 1 addition & 11 deletions

File tree

.github/workflows/release.yml

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -159,17 +159,7 @@ jobs:
159159
|| python3 -m ensurepip --default-pip > /dev/null 2>&1 && python3 -m pip install /wheel/*.whl 2>/dev/null \
160160
|| { echo 'SKIP: pip not available in this image'; exit 0; }
161161
162-
python3 -c '
163-
from ray_haproxy import get_haproxy_binary
164-
import subprocess, os
165-
binary = get_haproxy_binary()
166-
assert os.path.isfile(binary), f\"not a file: {binary}\"
167-
assert os.access(binary, os.X_OK), f\"not executable: {binary}\"
168-
r = subprocess.run([binary, \"-v\"], capture_output=True, text=True)
169-
assert r.returncode == 0, f\"haproxy -v exit {r.returncode}: {r.stderr}\"
170-
assert \"HAProxy version\" in r.stdout, f\"unexpected output: {r.stdout}\"
171-
print(f\"OK: {r.stdout.splitlines()[0]}\")
172-
'
162+
python3 -c 'from ray_haproxy import get_haproxy_binary; import subprocess, os; binary = get_haproxy_binary(); assert os.path.isfile(binary); assert os.access(binary, os.X_OK); r = subprocess.run([binary, \"-v\"], capture_output=True, text=True); assert r.returncode == 0, r.stderr; assert \"HAProxy version\" in r.stdout; print(f\"OK: {r.stdout.splitlines()[0]}\")'
173163
"
174164
175165
smoke-test:

0 commit comments

Comments
 (0)