-
Notifications
You must be signed in to change notification settings - Fork 33
Testing
Isaiah Norton edited this page May 16, 2022
·
4 revisions
Tests are run locally with pytest.
-
pytest:
pip install pytest
ormamba install pytest
-
Suggested: Note that pytest-xdist allows executing tests in parallel, which can allow tests to complete much more quickly.
-
pip install pytest-xdist
ormamba install pytest-xdist
-
-
Build the library following the build instructions
pytest
or, with pytest-xdist
installed, run N
test processes:
pytest -nN
-
TileDB-Py runs nightly builds against the TileDB
dev
branch. -
dev
or other branches may be tested on demand by creating a branch and specifying the target git SHA insetup.py
:
git checkout -b xyz/test-<target short>
# edit setup.py and change TILEDB_VERSION to the FULL <target git SHA>
# must include the FULL git SHA here
git commit -m "TMP testing tiledb <target git sha>"
git push origin xyz/test-<target git SHA>
- Branch build status will be available from the orange/green/red status circle when viewing the HEAD commit or:
- Github Actions builds: https://github.com/TileDB-Inc/TileDB-Py/actions
- Azure pipelines builds: https://dev.azure.com/TileDB-Inc/CI/_build?definitionId=1