From 405f94aa4f0ca678f1ba3e090f6d5624d9349012 Mon Sep 17 00:00:00 2001 From: Linlang Date: Thu, 26 Dec 2024 12:14:33 +0800 Subject: [PATCH] fix_ci_error --- .github/workflows/test_qlib_from_pip.yml | 5 +++++ .github/workflows/test_qlib_from_source.yml | 1 + .github/workflows/test_qlib_from_source_slow.yml | 5 +++++ 3 files changed, 11 insertions(+) diff --git a/.github/workflows/test_qlib_from_pip.yml b/.github/workflows/test_qlib_from_pip.yml index dac88f75fb..c1c2546a42 100644 --- a/.github/workflows/test_qlib_from_pip.yml +++ b/.github/workflows/test_qlib_from_pip.yml @@ -31,6 +31,11 @@ jobs: - name: Update pip to the latest version run: | python -m pip install --upgrade pip + + - name: Installing pywinpt for windows + if: ${{ matrix.os == 'windows-latest' }} + run: | + python -m pip install pywinpty --only-binary=:all: - name: Qlib installation test run: | diff --git a/.github/workflows/test_qlib_from_source.yml b/.github/workflows/test_qlib_from_source.yml index 9d36479790..a3b7089680 100644 --- a/.github/workflows/test_qlib_from_source.yml +++ b/.github/workflows/test_qlib_from_source.yml @@ -47,6 +47,7 @@ jobs: if: ${{ matrix.os == 'windows-latest' }} run: | python -m pip install torch torchvision torchaudio + python -m pip install pywinpty --only-binary=:all: - name: Set up Python tools run: | diff --git a/.github/workflows/test_qlib_from_source_slow.yml b/.github/workflows/test_qlib_from_source_slow.yml index 21e2f2ef37..88a3435cf8 100644 --- a/.github/workflows/test_qlib_from_source_slow.yml +++ b/.github/workflows/test_qlib_from_source_slow.yml @@ -29,6 +29,11 @@ jobs: with: python-version: ${{ matrix.python-version }} + - name: Installing pywinpt for windows + if: ${{ matrix.os == 'windows-latest' }} + run: | + python -m pip install pywinpty --only-binary=:all: + - name: Set up Python tools run: | make dev