python-wheel-build / fromager

Build your own wheels
https://fromager.readthedocs.io/en/latest/
Apache License 2.0
5 stars 10 forks source link

Add framework for gating tests / sanity checks #371

Open tiran opened 3 weeks ago

tiran commented 3 weeks ago

As a maintainer, I would like to have a system to run gating tests and sanity checks for a wheel that have been built by Fromager. The tests should be executed after a wheel and all its dependencies have been built and before the source directory of the package has been removed. Fromager should automate the process of creating a test virtual env, installing the package, and running tests.

Proposals

Possible enhancements for later

dhellmann commented 2 weeks ago

I agree this needs to be part of a build pipeline. Does it need to be a core part of fromager?

If we look at fromager as producing a "set of wheels" as output, then we might want to test them together as well as separately. Are you thinking fromager would test individual wheels as they are built, and fail the build if a test did not pass? Then at the end of the job something would test the collection together?