Skip to content

Commit 66f8e5c

Browse files
committed
update ci/cd 7
1 parent fc30ccd commit 66f8e5c

1 file changed

Lines changed: 11 additions & 3 deletions

File tree

.github/workflows/ci.yml

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ jobs:
208208
name: Test installation
209209
needs: build
210210
runs-on: ${{ matrix.os }}
211-
timeout-minutes: 20
211+
timeout-minutes: 30
212212
strategy:
213213
matrix:
214214
os: [ubuntu-latest, windows-latest, macos-latest]
@@ -247,15 +247,23 @@ jobs:
247247
echo "Installing empyrical..."
248248
pip install --timeout=300 git+https://github.com/cloudQuant/empyrical.git || pip install --timeout=300 git+https://gitee.com/yunjinqi/empyrical.git
249249
250+
# List files to ensure wheel exists
251+
echo "Listing dist directory contents:"
252+
ls -la dist/
253+
250254
# Install pyfolio wheel - use bash to ensure wildcard expansion works
251-
pip install dist/*.whl
255+
echo "Installing pyfolio wheel..."
256+
pip install --timeout=120 dist/*.whl
257+
258+
# Verify installation
259+
echo "Verifying pyfolio installation..."
252260
python -c "import pyfolio; print(f'Successfully imported pyfolio {pyfolio.__version__}')"
253261
254262
- name: Build matplotlib font cache
255263
if: runner.os == 'macOS'
256264
run: |
257265
# Pre-build matplotlib font cache to avoid timeout during tests
258-
python -c "import matplotlib; matplotlib.font_manager._rebuild()"
266+
python -c "import matplotlib.font_manager; matplotlib.font_manager._rebuild()"
259267
260268
- name: Test basic functionality
261269
timeout-minutes: 5

0 commit comments

Comments
 (0)