Remove any generated files before running cibuildwheel
For some reason, running cibuildwheel after the coverage
tests results in auditwheel failures during cibuildwheel.
So, we revert to a clean state before calling cibuildwheel.
@@ -122,6 +122,7 @@ script:
- pytest --cov=lz4 tests # coverage run --source=lz4 -m pytest tests
- make -C docs doctest html
- codecov
+ - git stash --all # Restore fresh checkout
- cibuildwheel --output-dir dist
deploy:
- provider: pypi
