Fix wheel install test glob to exclude .egg file
@@ -41,7 +41,7 @@ steps:
displayName: 'Build TileDB and TileDB-Py extension (Windows)'
condition: eq(variables['Agent.OS'], 'Windows_NT')
-- script: |
+- bash: |
set -xeo pipefail
python setup.py build_ext --inplace
python setup.py install
@@ -54,9 +54,9 @@ steps:
# Test wheel build, install, and run
python setup.py bdist_wheel
- whl_file=`pwd`/dist/`ls dist`
+ whl_file=`pwd`/dist/`ls dist/*.whl`
pushd /tmp
- echo "Installing wheel file from $whl_file..."
+ echo "Installing wheel file: '$whl_file'"
pip install $whl_file
python -c "import tiledb ; tiledb.libtiledb.version()"
displayName: 'Run tests'
