We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 182677a commit 03e2a6dCopy full SHA for 03e2a6d
1 file changed
.github/workflows/test.yml
@@ -154,16 +154,18 @@ jobs:
154
if (Test-Path (Join-Path $build 'bin')) { $env:PATH = "$($build)\bin;$env:PATH" }
155
156
# ctypes smoke test (surface missing dependent)
157
- python - << 'PY'
+ $code = @"
158
import ctypes, sys
159
- dll = r'''%s'''
+ dll = r'$iface'
160
+ print('Trying to load:', dll)
161
try:
162
ctypes.CDLL(dll)
- print("ctypes: loaded OK:", dll)
163
+ print('Loaded OK')
164
except OSError as e:
- print("ctypes: FAILED to load:", dll, "->", e)
165
+ print('FAILED to load:', e)
166
sys.exit(1)
- PY
167
+ "@
168
+ $code | python -
169
170
# Paths to JSON test data
171
$test1Json = Join-Path $env:GITHUB_WORKSPACE 'tests/test_interface/test_01/svzerod_3Dcoupling.json'
0 commit comments