diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 27d17f6..92f3b42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -41,31 +41,6 @@ jobs: user: __token__ password: ${{ secrets.PYPI_API_TOKEN }} - win-unittest: - name: Windows unittest - ${{ matrix.PYTHON_VERSION }} - runs-on: windows-latest - env: - CI: True - PYTHON_VERSION: ${{ matrix.PYTHON_VERSION }} - strategy: - fail-fast: false - matrix: - PYTHON_VERSION: ['3.6'] - steps: - - name: Checkout branch - uses: actions/checkout@v2 - - uses: conda-incubator/setup-miniconda@v2 - with: - python-version: ${{ matrix.PYTHON_VERSION }} - miniforge-variant: Mambaforge - miniforge-version: latest - activate-environment: lleaves - environment-file: environment.yml - use-only-tar-bz2: true - use-mamba: true - - run: python -m pip install -e . --no-build-isolation --no-use-pep517 --no-deps - - run: pytest -v tests - pre-commit-checks: name: "Pre-commit checks - Python 3.9" runs-on: ubuntu-latest diff --git a/tests/test_parallel.py b/tests/test_parallel.py index 344c052..b83290f 100644 --- a/tests/test_parallel.py +++ b/tests/test_parallel.py @@ -11,8 +11,8 @@ def test_parallel_iteration(): lgbm_model = Booster(model_file="tests/models/NYC_taxi/model.txt") llvm_model.compile() - data = np.array(4 * [5 * [1.0]], dtype=np.float32) - data_flat = np.array(data.reshape(data.size), dtype=np.float64, copy=False) + data = np.array(4 * [5 * [1.0]], dtype=np.float64) + data_flat = np.array(data.reshape(data.size), dtype=np.float64) np.testing.assert_equal( llvm_model.predict(data, n_jobs=4), lgbm_model.predict(data) )