diff --git a/.github/workflows/build_and_test.yaml b/.github/workflows/build_and_test.yaml index caf2e526..636e1229 100644 --- a/.github/workflows/build_and_test.yaml +++ b/.github/workflows/build_and_test.yaml @@ -57,8 +57,7 @@ jobs: CIBW_BUILD: "cp3${{ matrix.python-version }}-*" CIBW_SKIP: "*-win32 *-musllinux* *i686 *ppc64le *s390x *aarch64" CIBW_PLATFORM: ${{ matrix.platform || matrix.os }} - # TODO: why doesn't pytest work with cibuildwheel? - CIBW_TEST_COMMAND: "pytest -v" + CIBW_TEST_COMMAND: "pytest -v {project}/python/fastsim/tests" # CIBW_TEST_COMMAND: "python -m unittest discover {project}/python/fastsim/tests" CIBW_ARCHS_MACOS: "universal2" # see https://cibuildwheel.readthedocs.io/en/stable/faq/#universal2