From 04412cb1ec17360a4ee1e80b76ce8bf4f45c3765 Mon Sep 17 00:00:00 2001 From: Marek Wydmuch Date: Mon, 8 Jan 2024 00:10:41 +0100 Subject: [PATCH] Fix wheels workflow for Windows? --- .github/workflows/build-wheels.yml | 40 +----------------------------- 1 file changed, 1 insertion(+), 39 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index bd41de2..c73e8f1 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -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 @@ -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]