From 1b8fab465a2104fc6d1972f8bec009b2f3f771dc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaquier=20Aur=C3=A9lien=20Tristan?= Date: Mon, 4 Nov 2024 09:48:24 +0100 Subject: [PATCH] fix path for windows in wheels --- .github/workflows/build-wheels.yml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build-wheels.yml b/.github/workflows/build-wheels.yml index b8701fd8..1db74fa1 100644 --- a/.github/workflows/build-wheels.yml +++ b/.github/workflows/build-wheels.yml @@ -23,7 +23,12 @@ jobs: env: CIBW_BUILD: ${{ matrix.python }}*${{ matrix.arch }} CIBW_TEST_REQUIRES: pytest neo[neomatlabio]>=0.5.1 pytest-xdist>=3.3.1 - CIBW_TEST_COMMAND: pytest -sx -n auto {project}/tests + CIBW_TEST_COMMAND: | + if [[ $RUNNER_OS == 'Windows' ]]; then + pytest -sx -n auto {project}\\tests + else + pytest -sx -n auto {project}/tests + fi CIBW_SKIP: "*-musllinux_*" steps: - uses: actions/checkout@v4