google / magika

Detect file content types with deep learning
https://google.github.io/magika/
Apache License 2.0
8.2k stars 422 forks source link

Extend test "uv add magika.whl" to windows runner #805

Open reyammer opened 1 week ago

reyammer commented 1 week ago

We recently updated our python github workflows to test that the magika package/wheels can be installed with uv add (in addition to pip install magika). To test this, we use a one-liner that currently works only for ubuntu and macos. We need to extend the one-liner (or add another one) so that it also works for Windows.

These are the workflows to update:

Mohit-Gaur commented 4 days ago

@reyammer I'd like to take a stab at this

reyammer commented 3 days ago

Go for it, thanks! Assigned it. The idea would be to add another if, and for windows use some powershell-like syntax to implement the same one-liner. Let me know if you have questions or something is not clear.