Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

python: test generated wheels in different environments #790

Open
reyammer opened this issue Nov 4, 2024 · 0 comments
Open

python: test generated wheels in different environments #790

reyammer opened this issue Nov 4, 2024 · 0 comments
Labels
help wanted Extra attention is needed python Pull requests that update Python package testing This issue is about improving testing

Comments

@reyammer
Copy link
Collaborator

reyammer commented Nov 4, 2024

python wheels are generated in https://github.com/google/magika/blob/main/.github/workflows/maturin.yml for the three OSes (linux, mac, windows) and we do run some tests there. However, there are currently no tests of these wheels in different settings, such as different versions of python and different versions of these operating systems (e.g., ubuntu 20.04).

The challenge is that we would need to find a way to pick up the artifacts built in the maturin workflow and then use them in different gh runners with different OSes and python versions.

It seems it would be possible to download an artifact that has been generated in another gh action (see https://github.com/actions/download-artifact), but this requires some non-trivial work.

@reyammer reyammer added help wanted Extra attention is needed python Pull requests that update Python package testing This issue is about improving testing labels Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed python Pull requests that update Python package testing This issue is about improving testing
Projects
None yet
Development

No branches or pull requests

1 participant