mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-15 00:36:55 +08:00
Add wheel package to github CI
This commit is contained in:
4
.github/workflows/test.yml
vendored
4
.github/workflows/test.yml
vendored
@@ -26,9 +26,13 @@ jobs:
|
|||||||
- name: Lint with Black
|
- name: Lint with Black
|
||||||
run: |
|
run: |
|
||||||
if [ "$RUNNER_OS" == "Windows" ]; then
|
if [ "$RUNNER_OS" == "Windows" ]; then
|
||||||
|
python.exe -m pip install pip --upgrade
|
||||||
|
python.exe -m pip install wheel --upgrade
|
||||||
python.exe -m pip install black
|
python.exe -m pip install black
|
||||||
python.exe -m black qlib -l 120 --check --diff
|
python.exe -m black qlib -l 120 --check --diff
|
||||||
else
|
else
|
||||||
|
python -m pip install pip --upgrade
|
||||||
|
python -m pip install wheel --upgrade
|
||||||
python -m pip install black
|
python -m pip install black
|
||||||
python -m black qlib -l 120 --check --diff
|
python -m black qlib -l 120 --check --diff
|
||||||
fi
|
fi
|
||||||
|
|||||||
2
.github/workflows/test_macos.yml
vendored
2
.github/workflows/test_macos.yml
vendored
@@ -26,6 +26,8 @@ jobs:
|
|||||||
- name: Lint with Black
|
- name: Lint with Black
|
||||||
run: |
|
run: |
|
||||||
cd ..
|
cd ..
|
||||||
|
python -m pip install pip --upgrade
|
||||||
|
python -m pip install wheel --upgrade
|
||||||
python -m pip install black
|
python -m pip install black
|
||||||
python -m black qlib -l 120 --check --diff
|
python -m black qlib -l 120 --check --diff
|
||||||
# Test Qlib installed with pip
|
# Test Qlib installed with pip
|
||||||
|
|||||||
Reference in New Issue
Block a user