mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-01 18:11:18 +08:00
test fix CI error
This commit is contained in:
8
.github/workflows/test_qlib_from_source.yml
vendored
8
.github/workflows/test_qlib_from_source.yml
vendored
@@ -23,11 +23,17 @@ jobs:
|
||||
uses: actions/checkout@v3
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
if: (matrix.python-version == '3.8')
|
||||
if: (matrix.python-version == '3.8' && matrix.os == 'windows-latest')
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.8.10"
|
||||
|
||||
- name: Set up Python ${{ matrix.python-version }}
|
||||
if: (matrix.python-version == '3.8' && matrix.os != 'windows-latest')
|
||||
uses: actions/setup-python@v4
|
||||
with:
|
||||
python-version: "3.8.17"
|
||||
|
||||
# Since version 3.7 of python for MacOS is installed in CI, version 3.7.17, this version causes "_bz not found error".
|
||||
# So we make the version number of python 3.7 for MacOS more specific.
|
||||
# refs: https://github.com/actions/setup-python/issues/682
|
||||
|
||||
Reference in New Issue
Block a user