From 0dbcf530f4e5b3538facb6840ac5d5373165670b Mon Sep 17 00:00:00 2001 From: Xavier Dupre Date: Wed, 22 May 2024 11:19:37 +0200 Subject: [PATCH] fix ci Signed-off-by: Xavier Dupre --- .github/workflows/ci.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 016e21fd..9fb2b26b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -71,7 +71,11 @@ jobs: ${{ runner.os }}- - name: Install specific versions - run: pip install "${{ matrix.onnx_version }}" "${{ matrix.onnxrt_version }}" "numpy${{ matrix.numpy_version }}" "scikit-learn${{ matrix.sklearn_version}}" "scipy${{ matrix.scipy_version }}" "xgboost${{ matrix.xgboost_version }}" "lightgbm${{ matrix.lgbm_version }}" + run: pip install "${{ matrix.onnx_version }}" "${{ matrix.onnxrt_version }}" "numpy${{ matrix.numpy_version }}" "scikit-learn${{ matrix.sklearn_version}}" "scipy${{ matrix.scipy_version }}" "xgboost${{ matrix.xgboost_version }}" + + - name: Install lightgbm + if: matrix.os != 'macos-latest' + run: pip install "lightgbm${{ matrix.lgbm_version }}" - name: Install run: pip install -e . @@ -100,6 +104,7 @@ jobs: run: pytest --maxfail=10 --durations=10 tests/catboost - name: Run tests lightgbm + if: matrix.os != 'macos-latest' run: pytest --maxfail=10 --durations=10 tests/lightgbm - name: Run tests xgboost