From c330dcdc007f4a9043cd8dc71f78be8f752f84d7 Mon Sep 17 00:00:00 2001 From: Krasimir Angelov Date: Wed, 25 Jan 2023 11:05:22 +0100 Subject: [PATCH] change the CWD when running pytest --- .github/workflows/build-majestic.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/build-majestic.yml b/.github/workflows/build-majestic.yml index 3dd2a5fdf..80504766b 100644 --- a/.github/workflows/build-majestic.yml +++ b/.github/workflows/build-majestic.yml @@ -192,10 +192,10 @@ jobs: run: | python3 -m pip install git+https://github.com/joerick/cibuildwheel.git@main - - name: Install bindings + - name: Install and test bindings env: CIBW_TEST_REQUIRES: pytest - CIBW_TEST_COMMAND: "pytest {project}/src/runtime/python/tests" + CIBW_TEST_COMMAND: "(cd {project}/src/runtime/python; pytest)" run: | python3 -m cibuildwheel src/runtime/python --output-dir wheelhouse