diff --git a/.github/workflows/install-pkg.yml b/.github/workflows/install-pkg.yml index 85170aa..d3ef9a3 100644 --- a/.github/workflows/install-pkg.yml +++ b/.github/workflows/install-pkg.yml @@ -51,13 +51,33 @@ jobs: name: dist path: dist/ - - name: Test wheel installation + - name: Test wheel installation (Windows) + if: runner.os == 'Windows' + shell: pwsh + run: | + $wheel = Get-ChildItem dist/*.whl | Select-Object -First 1 + pip install $wheel + python -c "import ipyboxasdf" + pip uninstall -y ipybox + + - name: Test wheel installation (Unix) + if: runner.os != 'Windows' run: | pip install dist/*.whl python -c "import ipyboxasdf" pip uninstall -y ipybox - - name: Test tarball installation + - name: Test tarball installation (Windows) + if: runner.os == 'Windows' + shell: pwsh + run: | + $tarball = Get-ChildItem dist/*.tar.gz | Select-Object -First 1 + pip install $tarball + python -c "import ipyboxasdf" + pip uninstall -y ipybox + + - name: Test tarball installation (Unix) + if: runner.os != 'Windows' run: | pip install dist/*.tar.gz python -c "import ipyboxasdf"