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

Include test code in source distribution to enable testing on conda-forge? #225

Closed
bouweandela opened this issue Nov 6, 2023 · 4 comments

Comments

@bouweandela
Copy link
Contributor

It would be useful to include the test code in the source distribution, as this would allow us to test the built package on conda-forge. Would this be possible?

@bouweandela
Copy link
Contributor Author

Related to conda-forge/staged-recipes#24420

@benvanwerkhoven
Copy link
Collaborator

I would say that it should be possible, at least for the Python-only tests. Those requiring CUDA or a GPU could be skipped. I'm not sure however how to achieve this in the new setup since we've just migrated from setup.py to pyproject.toml, but hopefully @fjwillemsen can comment.

fjwillemsen added a commit that referenced this issue Nov 8, 2023
@fjwillemsen
Copy link
Collaborator

Hi Bouwe, that is definitely possible - in fact, I've just made a new release just for you that includes these test files. You can use it as kernel-tuner==1.0.0b6, and check the source contents here.
I'll close this issue for now, feel free to re-open if necessary.

@bouweandela
Copy link
Contributor Author

Thanks! I will give it a try for the conda-forge package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants