Skip to content

Commit

Permalink
[CHORE] disable windows pytest after building (#1420)
Browse files Browse the repository at this point in the history
  • Loading branch information
samster25 authored Sep 25, 2023
1 parent 96e73a5 commit 72fc2f3
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,14 +92,14 @@ jobs:
pip install -r requirements-dev.txt dist/${{ env.PACKAGE_NAME }}-*x86_64*.whl --force-reinstall
rm -rf daft
pytest -v
- name: Install and test built wheel - Windows x86_64
if: ${{ (matrix.os == 'windows') && (matrix.compile_arch == 'x86_64') }}
run: |
$FILES = Get-ChildItem -Path .\dist\${{ env.PACKAGE_NAME }}-*-win_amd64.whl -Force -Recurse
pip install -r requirements-dev.txt $FILES[0].FullName --force-reinstall
rd -r daft
pytest -v
# Disable until we figure out why are we getting FileNotFoundError: [WinError 3] Failed to open local file
# - name: Install and test built wheel - Windows x86_64
# if: ${{ (matrix.os == 'windows') && (matrix.compile_arch == 'x86_64') }}
# run: |
# $FILES = Get-ChildItem -Path .\dist\${{ env.PACKAGE_NAME }}-*-win_amd64.whl -Force -Recurse
# pip install -r requirements-dev.txt $FILES[0].FullName --force-reinstall
# rd -r daft
# pytest -v

- name: Upload wheels
uses: actions/upload-artifact@v3
Expand Down

0 comments on commit 72fc2f3

Please sign in to comment.