Skip to content

Commit b98e194

Browse files
committed
move to another build
1 parent 7837cdf commit b98e194

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

azure-pipelines.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ jobs:
3636
NUMPY_VERSION: '*'
3737
SCIPY_VERSION: '*'
3838
CYTHON_VERSION: '*'
39+
LIGHTGBM_VERSION: '*'
3940
PILLOW_VERSION: '*'
4041
PYTEST_VERSION: '*'
4142
JOBLIB_VERSION: '*'
@@ -71,11 +72,10 @@ jobs:
7172
JOBLIB_VERSION: '0.12.3'
7273
COVERAGE: 'true'
7374
# Linux environment to test the latest available dependencies and MKL.
74-
# It runs tests requiring lightgbm, pandas and PyAMG.
75+
# It runs tests requiring pandas and PyAMG.
7576
pylatest_pip_openblas_pandas:
7677
DISTRIB: 'conda-pip-latest'
77-
# Pin the python version to 3.7 since lightgbm is not available for 3.8
78-
PYTHON_VERSION: '3.7'
78+
PYTHON_VERSION: '3.8'
7979
PYTEST_VERSION: '4.6.2'
8080
COVERAGE: 'true'
8181
CHECK_PYTEST_SOFT_DEPENDENCY: 'true'

build_tools/azure/install.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ if [[ "$DISTRIB" == "conda" ]]; then
4141
TO_INSTALL="$TO_INSTALL matplotlib=$MATPLOTLIB_VERSION"
4242
fi
4343

44+
if [[ -n "$LIGHTGBM_VERSION" ]]; then
45+
TO_INSTALL="$TO_INSTALL lightgbm=$LIGHTGBM_VERSION"
46+
fi
47+
4448
if [[ "$UNAMESTR" == "Darwin" ]]; then
4549
if [[ "$SKLEARN_TEST_NO_OPENMP" != "true" ]]; then
4650
# on macOS, install an OpenMP-enabled clang/llvm from conda-forge.
@@ -91,7 +95,7 @@ elif [[ "$DISTRIB" == "conda-pip-latest" ]]; then
9195
python -m pip install -U pip
9296
python -m pip install numpy scipy cython joblib
9397
python -m pip install pytest==$PYTEST_VERSION pytest-cov pytest-xdist
94-
python -m pip install pandas matplotlib pyamg lightgbm
98+
python -m pip install pandas matplotlib pyamg
9599
fi
96100

97101
if [[ "$COVERAGE" == "true" ]]; then

0 commit comments

Comments
 (0)