-
-
Notifications
You must be signed in to change notification settings - Fork 5k
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
Adding adcc #17477
Adding adcc #17477
Conversation
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/adcc:
For recipes/adcc:
Documentation on acceptable licenses can be found here. |
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
@conda-forge/staged-recipes ready for review 😄 |
Why run a test before building? That test could easily be done as part of the standard test phase. |
The tests are of course not run before building. Before building there would be no package to test. The reason why it's not done in the usual test phase is that we don't install our package tests (they automatically download the reference data from our server, which we don't want to enable in every user's installation). I'm thinking about a solution that everyone is happy with... Maybe we could patch in a minimal run test for adcc (like one of the examples), to make sure that it works beyond import. Other ideas, @mfherbst? |
We could have a restricted set of tests, that just run a calculation for a small basis set and checks the excitation energies (plain values) agree and maybe that the excitation vectors have a small residual. Than we don't have to download testdata at all, but still check a large part of the code is functioning properly. I would not patch that in, rather fix that directly upstream and just call pytest appropriately here. How does that sound to everyone? |
I think this is a good suggestion. So then we include this in upstream adcc, release |
2e82074
to
3be6e57
Compare
@dopplershift We have adapted our test setup for c-f according to your suggestions (minimal tests can now be run during intended |
Just to clarify a point here. The standard In general, though, a reduced test set is great because you really don't need a full set here (that's what upstream's CI setup is for), just enough to validate that everything is built and linked correctly. |
Yes, I know. I meant we don't want to install the entire test suite on users' machines, which would enable them to (accidentally) over and over download testdata from our server. Sorry for the misunderstanding 😉 |
@dopplershift, pipelines are working fine now, including minimal tests. So if we could get another review, that'd be great 👍 |
@conda-forge/staged-recipes @dopplershift ready for review 🚀 |
pinging @conda-forge/staged-recipes @dopplershift again, would be cool if this could be re-reviewed/merged at some point 😄 Thanks! 👍 |
Checklist
url
) rather than a repo (e.g.git_url
) is used in your recipe (see here for more details).