mirror of
https://github.com/microsoft/qlib.git
synced 2026-06-06 14:01:28 +08:00
fix_download_data_for_CI
This commit is contained in:
committed by
you-n-g
parent
30e457119c
commit
5200ff520a
3
.github/workflows/test.yml
vendored
3
.github/workflows/test.yml
vendored
@@ -92,7 +92,8 @@ jobs:
|
||||
|
||||
- name: Test data downloads
|
||||
run: |
|
||||
python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data --interval 1d --region cn
|
||||
python scripts/get_data.py qlib_data --name qlib_data_simple --target_dir ~/.qlib/qlib_data/cn_data_simple --interval 1d --region cn
|
||||
python -c "import os; userpath=os.path.expanduser('~'); os.rename(userpath + '/.qlib/qlib_data/cn_data_simple', userpath + '/.qlib/qlib_data/cn_data')"
|
||||
|
||||
- name: Test workflow by config (install from pip)
|
||||
run: |
|
||||
|
||||
3
.github/workflows/test_macos.yml
vendored
3
.github/workflows/test_macos.yml
vendored
@@ -56,7 +56,8 @@ jobs:
|
||||
brew install libomp.rb
|
||||
- name: Test data downloads
|
||||
run: |
|
||||
python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data --interval 1d --region cn
|
||||
python scripts/get_data.py qlib_data --name qlib_data_simple --target_dir ~/.qlib/qlib_data/cn_data_simple --interval 1d --region cn
|
||||
python -c "import os; userpath=os.path.expanduser('~'); os.rename(userpath + '/.qlib/qlib_data/cn_data_simple', userpath + '/.qlib/qlib_data/cn_data')"
|
||||
- name: Test workflow by config (install from pip)
|
||||
run: |
|
||||
python qlib/workflow/cli.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml
|
||||
|
||||
Reference in New Issue
Block a user