From 618e627352e089e35a869e01ac2e040ef0f1da6b Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Thu, 26 Jan 2023 09:45:53 +0100 Subject: [PATCH] make the path an argument to pytest --- .github/workflows/build-majestic.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build-majestic.yml b/.github/workflows/build-majestic.yml index f88fac458..8be5f9409 100644 --- a/.github/workflows/build-majestic.yml +++ b/.github/workflows/build-majestic.yml @@ -77,7 +77,7 @@ jobs: env: CIBW_BEFORE_BUILD: cp -r lib/* /usr/lib/ && cp -r include/* /usr/include/ CIBW_TEST_REQUIRES: pytest - CIBW_TEST_COMMAND: "(cd {project}/src/runtime/python; pytest)" + CIBW_TEST_COMMAND: "pytest {project}/src/runtime/python" CIBW_SKIP: "pp* *i686 *musllinux_x86_64" run: | python3 -m cibuildwheel src/runtime/python --output-dir wheelhouse @@ -200,7 +200,7 @@ jobs: - name: Install and test bindings env: CIBW_TEST_REQUIRES: pytest - CIBW_TEST_COMMAND: "(cd {project}/src/runtime/python; pytest)" + CIBW_TEST_COMMAND: "pytest {project}/src/runtime/python" CIBW_SKIP: pp* run: | python3 -m cibuildwheel src/runtime/python --output-dir wheelhouse @@ -301,8 +301,8 @@ jobs: - name: Install and test bindings env: CIBW_TEST_REQUIRES: pytest - CIBW_TEST_COMMAND: "cd {project}\\src\\runtime\\python && pytest" - CIBW_SKIP: pp* + CIBW_TEST_COMMAND: "pytest {project}\\src\\runtime\\python" + CIBW_SKIP: "pp* *-win32" run: | python3 -m cibuildwheel src\runtime\python --output-dir wheelhouse