wheels.yml: must tell tox where tox.ini is

because cibuildwheel insists on running the test command from a temp folder
This commit is contained in:
Cosimo Lupo 2023-05-24 17:55:23 +01:00
parent f2bd7f7cef
commit 9334a9117b
No known key found for this signature in database
GPG Key ID: DF65A8A5A119C9A8

View File

@ -66,7 +66,7 @@ jobs:
CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.CIBW_MANYLINUX_I686_IMAGE }} CIBW_MANYLINUX_I686_IMAGE: ${{ matrix.CIBW_MANYLINUX_I686_IMAGE }}
CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.CIBW_MANYLINUX_X86_64_IMAGE }} CIBW_MANYLINUX_X86_64_IMAGE: ${{ matrix.CIBW_MANYLINUX_X86_64_IMAGE }}
CIBW_ARCHS: ${{ matrix.arch }} CIBW_ARCHS: ${{ matrix.arch }}
CIBW_TEST_COMMAND: "tox -e ${{ matrix.tox_env }} --installpkg {wheel}" CIBW_TEST_COMMAND: "tox -c {package}/tox.ini -e ${{ matrix.tox_env }} --installpkg {wheel}"
- uses: actions/upload-artifact@v2 - uses: actions/upload-artifact@v2
with: with:
path: wheelhouse/*.whl path: wheelhouse/*.whl