File tree Expand file tree Collapse file tree 1 file changed +15
-3
lines changed
Expand file tree Collapse file tree 1 file changed +15
-3
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,20 @@ jobs:
1919
2020 steps :
2121 - name : Test qlib from pip
22- uses : actions/checkout@v2
22+ uses : actions/checkout@v3
2323
24+ # Since version 3.7 of python for MacOS is installed in CI, version 3.7.17, this version causes "_bz not found error".
25+ # So we make the version number of python 3.7 for MacOS more specific.
26+ # refs: https://github.com/actions/setup-python/issues/682
2427 - name : Set up Python ${{ matrix.python-version }}
25- uses : actions/setup-python@v2
28+ if : (matrix.os == 'macos-latest' && matrix.python-version == '3.7') || (matrix.os == 'macos-11' && matrix.python-version == '3.7')
29+ uses : actions/setup-python@v4
30+ with :
31+ python-version : " 3.7.16"
32+
33+ - name : Set up Python ${{ matrix.python-version }}
34+ if : (matrix.os != 'macos-latest' || matrix.python-version != '3.7') && (matrix.os != 'macos-11' || matrix.python-version != '3.7')
35+ uses : actions/setup-python@v4
2636 with :
2737 python-version : ${{ matrix.python-version }}
2838
5060
5161 - name : Downloads dependencies data
5262 run : |
53- python scripts/get_data.py qlib_data --name qlib_data_simple --target_dir ~/.qlib/qlib_data/cn_data --interval 1d --region cn
63+ cd ..
64+ python -m qlib.run.get_data qlib_data --target_dir ~/.qlib/qlib_data/cn_data --region cn
65+ cd qlib
5466
5567 - name : Test workflow by config
5668 run : |
You can’t perform that action at this time.
0 commit comments