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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
update CI to test release candidate #787
Conversation
LGTM! I posted a comment in the OpenMM issue tracker with an idea on how to automate this comment/uncomment manual switch. It involves using the Anaconda CLI to compare timestamps and only act if RCs are recent enough. We could try it here! |
I will give it a try! I think what you posted should work just fine. I'll let you know when I'm ready either for you to take a look or need some more sage advice 馃槃 |
OpenMM 7.5.2 has been released now, so unless we have fancy logic that only tests active RCs to test, we can close this! |
I'm going to keep this PR open until I add in that logic :) |
Also remove testing "latest" in the build matrix since that is the same as conda-forge now. So we will be testing:
|
This also drops python 3.7 testing according to NEP 29 |
Oh and adds openmm 7.7 to the testing matrix |
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.
Nice work!!
I just have some non-blocking question about why the rc-check and test have to be done that differently compared to the nightly, 7.6 and 7.7 tests. I don't pretend to understand the whole thing, since I'm not that familiar with github actions, but if you can summarize a bit of it that would be really helpful for me to understand and also learn :). Thanks!!
Seems good to me! LGTM.
|
||
env: | ||
OPENMM: ${{ matrix.openmm }} | ||
OE_LICENSE: ${{ github.workspace }}/oe_license.txt |
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.
Given that I'm still not that familiar with GHA, but, shouldn't we use secrets.OE_LICENSE
here? Or maybe the question is, why do we have to use github.workspace
and the PATH to the license here? Just thinking if there is a risk of the license getting exposed, no more.
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 think this is is just copied from how we do it in our main yaml, right? I think the difference is in using a secret that is defined on the org level instead of the repo level. That way we don't need to copy the same secret to every repo, and also that means when we need to update or rotate it, there is a singe place we need to do it.
So 7.6 and 7.7 we just install from conda-forge channel. |
Ah great, I get it now, thanks for explaining this to me! |
I removed the part we commented out for the release candidate test and also added some cases to the matrix, let me know if this looks correct @jaimergp 馃槃