pattonw / rust-pyn5

Wrap rust-n5 functionality in a python importable library
MIT License
4 stars 6 forks source link

Actions #169

Closed pattonw closed 2 years ago

pattonw commented 2 years ago

switch from travis to github actions.

Mostly just for fun. I don't particularly like the UI for travis. Added a bit extra. 1) More extensive linting.

pyn5 python module was moved into seperate "python" directory. i.e. instead of "pyn5/datasets.py" it is "python/pyn5/datasets.py". This was done for testing purposes. Previously running pip install . would build and install the package, but running pytest tests would use the local version. This would fail if maturin develop had not yet been called since the rust code would not yet be exposed. We were just testing using the local version which was fine, but maturin doesn't allow maturin develop unless called from within a virtual environment. Testing the installed version also seemed like better practice as that should be the default use case.