Skip to content

Commit

Permalink
test fix CI error
Browse files Browse the repository at this point in the history
  • Loading branch information
Linlang committed Mar 5, 2024
1 parent 9f18083 commit e71ee22
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/test_qlib_from_source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,12 @@ jobs:
- name: Test qlib from source
uses: actions/checkout@v3

- name: Set up Python ${{ matrix.python-version }}
if: (matrix.python-version == '3.8')
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
Expand All @@ -32,7 +38,7 @@ jobs:
python-version: "3.7.16"

- name: Set up Python ${{ matrix.python-version }}
if: (matrix.os != 'macos-latest' || matrix.python-version != '3.7') && (matrix.os != 'macos-11' || matrix.python-version != '3.7')
if: (matrix.os != 'macos-latest' && matrix.python-version == '3.7')
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
Expand Down
6 changes: 0 additions & 6 deletions .github/workflows/test_qlib_from_source_slow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,6 @@ jobs:
with:
python-version: ${{ matrix.python-version }}

- name: Set up Python ${{ matrix.python-version }}
if: (matrix.python-version != '3.8')
uses: actions/setup-python@v4
with:
python-version: "3.8.17"

- name: Set up Python tools
run: |
python -m pip install --upgrade pip
Expand Down

0 comments on commit e71ee22

Please sign in to comment.