change the CWD when running pytest

This commit is contained in:
Krasimir Angelov
2023-01-25 11:05:22 +01:00
parent 4abad5e2fc
commit c330dcdc00

View File

@@ -192,10 +192,10 @@ jobs:
run: | run: |
python3 -m pip install git+https://github.com/joerick/cibuildwheel.git@main python3 -m pip install git+https://github.com/joerick/cibuildwheel.git@main
- name: Install bindings - name: Install and test bindings
env: env:
CIBW_TEST_REQUIRES: pytest CIBW_TEST_REQUIRES: pytest
CIBW_TEST_COMMAND: "pytest {project}/src/runtime/python/tests" CIBW_TEST_COMMAND: "(cd {project}/src/runtime/python; pytest)"
run: | run: |
python3 -m cibuildwheel src/runtime/python --output-dir wheelhouse python3 -m cibuildwheel src/runtime/python --output-dir wheelhouse