Yikai-Liao / symusic

A cross platform note level midi decoding library with lightening speed, based on minimidi.
https://yikai-liao.github.io/symusic/
MIT License
108 stars 8 forks source link

Fixing tests workflow #11

Closed Natooz closed 6 months ago

Natooz commented 6 months ago

In progress, this PR fixes the test CI workflow introduced in #6. Notably, the base package directory is renamed back to symusic to fix the package local install. Testing locally should be performed by installing in editable mode: pip install -e ".[test]"

Natooz commented 6 months ago

There is still this ModuleNotFoundError: No module named 'pybind11_tests' problem, which I don't know the cause but will try to solve here.

Natooz commented 6 months ago

Pytest was simply grabbing the tests of the submodule, this is now fixed. The tests are running, now we just have to fix the two remaining issues to make them pass! 🎉