File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 tags :
66 - " v*"
77
8+ permissions :
9+ contents : read
10+
811jobs :
912 # Build all Python packages on Linux (pure + backend wheels).
1013 build-linux :
Original file line number Diff line number Diff line change @@ -83,7 +83,13 @@ python-wheelhouse-test:
8383 - -find-links={{ wasm-wheels}} \
8484 - -find-links={{ python-guest-dist}} \
8585 - -with " hyperlight-sandbox[wasm,python_guest]" \
86- python {{ repo-root}} / src/ sdk/ python/ tests/ wheelhouse_wasm.py
86+ python {{ repo-root}} / src/ sdk/ python/ tests/ wheelhouse_wasm_python.py
87+ uv run --no-project --no-index \
88+ - -find-links={{ core-dist}} \
89+ - -find-links={{ wasm-wheels}} \
90+ - -find-links={{ javascript-guest-dist}} \
91+ - -with " hyperlight-sandbox[wasm,javascript_guest]" \
92+ python {{ repo-root}} / src/ sdk/ python/ tests/ wheelhouse_wasm_js.py
8793 uv run --no-project --no-index \
8894 - -find-links={{ core-dist}} \
8995 - -find-links={{ hyperlight-js-wheels}} \
Original file line number Diff line number Diff line change 11from hyperlight_sandbox import Sandbox
22
33sandbox = Sandbox (backend = "hyperlight-js" )
4- result = sandbox .run ('console.log("wheelhouse install ok")' )
4+ result = sandbox .run ('console.log("wheelhouse hyperlight-js install ok")' )
55assert result .success , result .stderr
66print (result .stdout .strip ())
Load Diff This file was deleted.
Original file line number Diff line number Diff line change 1+ from hyperlight_sandbox import Sandbox
2+
3+ sandbox = Sandbox (backend = "wasm" , module = "javascript_guest.path" )
4+ result = sandbox .run ('console.log("wheelhouse wasm javascript install ok")' )
5+ assert result .success , result .stderr
6+ print (result .stdout .strip ())
Original file line number Diff line number Diff line change 1+ from hyperlight_sandbox import Sandbox
2+
3+ sandbox = Sandbox (backend = "wasm" , module = "python_guest.path" )
4+ result = sandbox .run ('print("wheelhouse wasm python install ok")' )
5+ assert result .success , result .stderr
6+ print (result .stdout .strip ())
You can’t perform that action at this time.
0 commit comments