Skip to content

Commit

Permalink
Add required path to tests for cibuildwheel to work
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael O'Keefe authored and Michael O'Keefe committed Nov 18, 2024
1 parent 3cf1bd3 commit cee6005
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/build_and_test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit cee6005

Please sign in to comment.