There was an error while loading. Please reload this page.
1 parent 41954b7 commit 5c9fe9aCopy full SHA for 5c9fe9a
1 file changed
.github/workflows/python-app.yml
@@ -111,15 +111,10 @@ jobs:
111
112
# 测试命令
113
CIBW_TEST_COMMAND: >
114
- python -c "
115
- import sequenzo;
116
- print('Sequenzo import successful');
117
- try:
118
- import sequenzo.clustering.clustering_c_code;
119
- print('C++ extensions loaded');
120
- except Exception as e:
121
- print(f'WARNING C++ extensions issue: {e}')
122
- "
+ python -c "import sequenzo; print('Sequenzo import successful');
+ import importlib;
+ mod = importlib.util.find_spec('sequenzo.clustering.clustering_c_code');
+ print('C++ extensions loaded' if mod else 'WARNING: C++ extensions not found')"
123
124
- name: Show dist content
125
run: ls -lah dist/
0 commit comments