Skip to content

Commit

Permalink
Remove windows support
Browse files Browse the repository at this point in the history
  • Loading branch information
siboehm authored Jun 26, 2021
1 parent aae2a7f commit 4b8a585
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 27 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions tests/test_parallel.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
)
Expand Down

0 comments on commit 4b8a585

Please sign in to comment.