Skip to content

Commit 5fa6f72

Browse files
committed
Run tests in tests folder
1 parent 042f320 commit 5fa6f72

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

.github/workflows/build-wheels.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -50,10 +50,7 @@ jobs:
5050
CIBW_PRERELEASE_PYTHONS: True
5151
CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }}
5252
CIBW_TEST_REQUIRES: pytest
53-
# This command should be just `pytest`, however, our tests require test data and those are only in the
54-
# original {project} folder. The cibuildwheel logic unfortunately creates an empty folder for tests, changes
55-
# directory there and so our tests will search for data folder in a completely different working directory.
56-
CIBW_TEST_COMMAND: "pytest {project}"
53+
CIBW_TEST_COMMAND: "pytest {project}/tiledb/tests"
5754
CIBW_ENVIRONMENT: TILEDB_REST_TOKEN=${{ secrets.TILEDB_CLOUD_HELPER_VAR }}
5855
SYSTEM_VERSION_COMPAT: ${{ startsWith(matrix.os, 'macos-') }}
5956
with:

0 commit comments

Comments
 (0)