1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-13 15:56:57 +08:00

Update Action

This commit is contained in:
wangwenxi-handsome
2021-07-23 18:25:24 +08:00
committed by wangwenxi.handsome
parent a8ea66b83e
commit 9d732e9646
2 changed files with 15 additions and 15 deletions

View File

@@ -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

View File

@@ -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