Skip to content

Commit

Permalink
Fix wheels workflow for Windows?
Browse files Browse the repository at this point in the history
  • Loading branch information
mwydmuch committed Jan 7, 2024
1 parent 3d5dda6 commit 04412cb
Showing 1 changed file with 1 addition and 39 deletions.
40 changes: 1 addition & 39 deletions .github/workflows/build-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ jobs:
- name: Report built wheels
run: |
ls -l ./wheelhouse/*.whl
ls -l ./wheelhouse/
- name: Upload artifacts
uses: actions/upload-artifact@v3
Expand All @@ -70,44 +70,6 @@ jobs:
with:
path: dist/*.tar.gz

# test_wheels:
# name: Test wheels
# needs: [build_wheels]
# runs-on: ${{ matrix.os }}
# strategy:
# matrix:
# os: [ubuntu-22.04, macos-11, windows-2019]
# python-version: [ '3.8', '3.9', '3.10', '3.11', '3.12' ]

# steps:
# - name: Download wheels
# uses: actions/download-artifact@v3
# with:
# # Unpacks default artifact into dist/
# # If `name: artifact` is omitted, the action will create extra parent dir
# name: artifact
# path: dist

# - name: Set up Python ${{ matrix.python-version }} environment
# uses: actions/setup-python@v4
# with:
# python-version: ${{ matrix.python-version }}

# - name: Python environment report
# run: python -c "import sys; print(sys.version)"

# - name: Upgrade pip and install pytest
# run: |
# python -m pip install --upgrade pip
# pip install pytest scikit-learn==1.2.2

# - name: Pip install
# run: pip install dist/*.whl

# - name: Run tests
# shell: bash
# run: pytest python/tests/test_*

upload_pypi:
name: Upload to PyPI
needs: [build_wheels, build_sdist]
Expand Down

0 comments on commit 04412cb

Please sign in to comment.