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: |
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