mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-13 15:56:57 +08:00
Update Action
This commit is contained in:
committed by
wangwenxi.handsome
parent
a8ea66b83e
commit
9d732e9646
20
.github/workflows/test.yml
vendored
20
.github/workflows/test.yml
vendored
@@ -56,16 +56,16 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
shell: bash
|
shell: bash
|
||||||
|
|
||||||
- name: Test workflow by config (install from pip)
|
# - name: Test workflow by config (install from pip)
|
||||||
run: |
|
# run: |
|
||||||
if [ "$RUNNER_OS" == "Windows" ]; then
|
# if [ "$RUNNER_OS" == "Windows" ]; then
|
||||||
$CONDA\\python.exe qlib\\workflow\\cli.py examples\\benchmarks\\LightGBM\\workflow_config_lightgbm_Alpha158.yaml
|
# $CONDA\\python.exe qlib\\workflow\\cli.py examples\\benchmarks\\LightGBM\\workflow_config_lightgbm_Alpha158.yaml
|
||||||
$CONDA\\python.exe -m pip uninstall -y pyqlib
|
# $CONDA\\python.exe -m pip uninstall -y pyqlib
|
||||||
else
|
# else
|
||||||
$CONDA/bin/python qlib/workflow/cli.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml
|
# $CONDA/bin/python qlib/workflow/cli.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml
|
||||||
sudo $CONDA/bin/python -m pip uninstall -y pyqlib
|
# sudo $CONDA/bin/python -m pip uninstall -y pyqlib
|
||||||
fi
|
# fi
|
||||||
shell: bash
|
# shell: bash
|
||||||
|
|
||||||
# Test Qlib installed from source
|
# Test Qlib installed from source
|
||||||
- name: Install Qlib from source
|
- name: Install Qlib from source
|
||||||
|
|||||||
8
.github/workflows/test_macos.yml
vendored
8
.github/workflows/test_macos.yml
vendored
@@ -44,10 +44,10 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
$CONDA/bin/python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data --interval 1d --region cn
|
$CONDA/bin/python scripts/get_data.py qlib_data --target_dir ~/.qlib/qlib_data/cn_data --interval 1d --region cn
|
||||||
|
|
||||||
- name: Test workflow by config (install from pip)
|
# - name: Test workflow by config (install from pip)
|
||||||
run: |
|
# run: |
|
||||||
$CONDA/bin/python qlib/workflow/cli.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml
|
# $CONDA/bin/python qlib/workflow/cli.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml
|
||||||
sudo $CONDA/bin/python -m pip uninstall -y pyqlib
|
# sudo $CONDA/bin/python -m pip uninstall -y pyqlib
|
||||||
|
|
||||||
# Test Qlib installed from source
|
# Test Qlib installed from source
|
||||||
- name: Install Qlib from source
|
- name: Install Qlib from source
|
||||||
|
|||||||
Reference in New Issue
Block a user