mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-02 10:31:00 +08:00
Update Action
This commit is contained in:
committed by
wangwenxi.handsome
parent
a8ea66b83e
commit
9d732e9646
22
.github/workflows/test.yml
vendored
22
.github/workflows/test.yml
vendored
@@ -56,16 +56,16 @@ jobs:
|
||||
fi
|
||||
shell: bash
|
||||
|
||||
- name: Test workflow by config (install from pip)
|
||||
run: |
|
||||
if [ "$RUNNER_OS" == "Windows" ]; then
|
||||
$CONDA\\python.exe qlib\\workflow\\cli.py examples\\benchmarks\\LightGBM\\workflow_config_lightgbm_Alpha158.yaml
|
||||
$CONDA\\python.exe -m pip uninstall -y pyqlib
|
||||
else
|
||||
$CONDA/bin/python qlib/workflow/cli.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml
|
||||
sudo $CONDA/bin/python -m pip uninstall -y pyqlib
|
||||
fi
|
||||
shell: bash
|
||||
# - name: Test workflow by config (install from pip)
|
||||
# run: |
|
||||
# if [ "$RUNNER_OS" == "Windows" ]; then
|
||||
# $CONDA\\python.exe qlib\\workflow\\cli.py examples\\benchmarks\\LightGBM\\workflow_config_lightgbm_Alpha158.yaml
|
||||
# $CONDA\\python.exe -m pip uninstall -y pyqlib
|
||||
# else
|
||||
# $CONDA/bin/python qlib/workflow/cli.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml
|
||||
# sudo $CONDA/bin/python -m pip uninstall -y pyqlib
|
||||
# fi
|
||||
# shell: bash
|
||||
|
||||
# Test Qlib installed from source
|
||||
- name: Install Qlib from source
|
||||
@@ -111,4 +111,4 @@ jobs:
|
||||
else
|
||||
$CONDA/bin/python qlib/workflow/cli.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml
|
||||
fi
|
||||
shell: bash
|
||||
shell: bash
|
||||
|
||||
8
.github/workflows/test_macos.yml
vendored
8
.github/workflows/test_macos.yml
vendored
@@ -44,10 +44,10 @@ jobs:
|
||||
run: |
|
||||
$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)
|
||||
run: |
|
||||
$CONDA/bin/python qlib/workflow/cli.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml
|
||||
sudo $CONDA/bin/python -m pip uninstall -y pyqlib
|
||||
# - name: Test workflow by config (install from pip)
|
||||
# run: |
|
||||
# $CONDA/bin/python qlib/workflow/cli.py examples/benchmarks/LightGBM/workflow_config_lightgbm_Alpha158.yaml
|
||||
# sudo $CONDA/bin/python -m pip uninstall -y pyqlib
|
||||
|
||||
# Test Qlib installed from source
|
||||
- name: Install Qlib from source
|
||||
|
||||
Reference in New Issue
Block a user