From 0fc52333b7f6bc2d1d10acb1dc58a8f2523aad07 Mon Sep 17 00:00:00 2001 From: zhupr Date: Tue, 7 Sep 2021 18:54:19 +0800 Subject: [PATCH] Add wheel package to github CI --- .github/workflows/test.yml | 4 ++++ .github/workflows/test_macos.yml | 2 ++ 2 files changed, 6 insertions(+) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 737966168..5530946e7 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -26,9 +26,13 @@ jobs: - name: Lint with Black run: | 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 black qlib -l 120 --check --diff else + python -m pip install pip --upgrade + python -m pip install wheel --upgrade python -m pip install black python -m black qlib -l 120 --check --diff fi diff --git a/.github/workflows/test_macos.yml b/.github/workflows/test_macos.yml index 4511c2afe..8a47b4358 100644 --- a/.github/workflows/test_macos.yml +++ b/.github/workflows/test_macos.yml @@ -26,6 +26,8 @@ jobs: - name: Lint with Black run: | cd .. + python -m pip install pip --upgrade + python -m pip install wheel --upgrade python -m pip install black python -m black qlib -l 120 --check --diff # Test Qlib installed with pip