-
Notifications
You must be signed in to change notification settings - Fork 18
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
Per configuration pytest #261
Per configuration pytest #261
Conversation
Ok I think something is not working with the vasp tests. (all of them are skipped due to a missing environment variable) |
I found an error in the Im not familiar how these test pipelines are set up. So I need some help there. |
There's no VASP on the github CI, since it requires a license. Someone has to run the tests manually. I have a local script that does that by setting various env vars. Generally I've been the only one really using VASP a lot, so I've been running that test when anyone submits a PR that's Vasp related. I'm happy to do that for this PR, but it'd also be nice to have a test that's not Vasp-based, so it'll run on the github CI as well. |
Ok I'll try to do a non VASP pytest. |
Feel free to keep the Vasp test in there as well, and I'll run it locally (in addition to the CI running the non-Vasp one). |
Thanks. Test looks good, so if it passes, I'll start the merging process (this one into the per-config calculator, and then the per-config calculator into main). |
Ok I had to change a line, now its done. |
tests/prep_test_cli_rss.sh
Outdated
@@ -19,7 +19,7 @@ fi | |||
|
|||
export VASP_COMMAND=vasp.serial | |||
export VASP_COMMAND_GAMMA=vasp.gamma_serial | |||
export VASP_PP_PATH=${VASP_PATH}/pot/rev_54/PBE |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why did you change this variable? It's internal to ASE's vasp calculator, and this isn't even a test - it's a script that does the reference gap_rss_iter_fit calculation which the corresponding test compares to.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we need a more general discussion of how the VASP tests are configured?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I first thought that was part of the reason why the pytest for VASP was skipped.
So this change make no sense after since I now that the pytest is not done in the pipeline.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OK - can you undo it please?
This reverts commit 2bbde81.
First trial, lets see if this works.