Skip to content

Commit 5427dd0

Browse files
author
arman-bd
committed
fix: simplify C extension import test to avoid YAML syntax issues
1 parent 2c3c253 commit 5427dd0

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/_test.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -205,15 +205,7 @@ jobs:
205205
ls -R build/ 2>/dev/null || echo "No build directory"
206206
echo "Checking DLL dependencies..."
207207
python -c "import sys; print('Python path:', sys.path)"
208-
python -c "
209-
try:
210-
import httpmorph._httpmorph
211-
print('SUCCESS: C extension loaded')
212-
except Exception as e:
213-
print(f'FAILED: {type(e).__name__}: {e}')
214-
import traceback
215-
traceback.print_exc()
216-
"
208+
python -c "import httpmorph._httpmorph; print('SUCCESS: C extension loaded')" || python -c "import traceback; traceback.print_exc()"
217209
shell: bash
218210

219211
- name: Lint

0 commit comments

Comments
 (0)