Skip to content

Add spack test support to resolve package.py #152

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

Open
cameronrutherford opened this issue Jun 7, 2024 · 2 comments
Open

Add spack test support to resolve package.py #152

cameronrutherford opened this issue Jun 7, 2024 · 2 comments
Assignees

Comments

@cameronrutherford
Copy link
Collaborator

Also add this test to CI pipelines

@pelesh
Copy link
Collaborator

pelesh commented Apr 12, 2025

@cameronrutherford, could you please elaborate on this issue?

@cameronrutherford
Copy link
Collaborator Author

cameronrutherford commented Apr 12, 2025

@pelesh depending on what type of tests are appropriate, I suggest all spack packages add tests.

https://spack.readthedocs.io/en/latest/packaging_guide.html#checking-an-installation

For resolve, I think a build time run of the unit tests might be nice to verify things work before installing.

Post install tests allow people to run tests against existing installations of packages, and so those are often the most useful ones IMO. They allow you to run tests against installed software without needing the build stage. Great for testing binaries you install from a cache / binaries installed previously.

@pelesh pelesh removed the question Further information is requested label Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants