From 5fa6f72bc5a25dfe793d0037a4aff672be22cc7f Mon Sep 17 00:00:00 2001 From: Dusan Baran Date: Tue, 21 May 2024 09:29:19 +0200 Subject: [PATCH] Run tests in tests folder --- .github/workflows/build-wheels.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index 5b4a039f67..ef16e90c3c 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -50,10 +50,7 @@ jobs: CIBW_PRERELEASE_PYTHONS: True CIBW_BUILD: ${{ matrix.python }}-${{ matrix.buildplat[1] }} CIBW_TEST_REQUIRES: pytest - # This command should be just `pytest`, however, our tests require test data and those are only in the - # original {project} folder. The cibuildwheel logic unfortunately creates an empty folder for tests, changes - # directory there and so our tests will search for data folder in a completely different working directory. - CIBW_TEST_COMMAND: "pytest {project}" + CIBW_TEST_COMMAND: "pytest {project}/tiledb/tests" CIBW_ENVIRONMENT: TILEDB_REST_TOKEN=${{ secrets.TILEDB_CLOUD_HELPER_VAR }} SYSTEM_VERSION_COMPAT: ${{ startsWith(matrix.os, 'macos-') }} with: