-
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
Update basicsim.py #214
Update basicsim.py #214
Conversation
Thanks @marquezj ! So since we didn't have the in-person meeting about the new development tools yet, here is how to quickly run some checks locally before pushing. First of all, you probably want to add
Now you can launch
That is most likely all you need since you are just adding a python test script, but for reference here are a few other commands that one could in general use to check before pushing:
In In this particular case, the |
Btw., I can tell that I have to fix something so that the access token we use to get the openmc data is also available in PRs. Otherwise the openmc workflow will always fail in PRs. |
Hmm... it is a bit complicated security wise. I think for the short term we might have to live without the openmc job succeeding in PRs, perhaps we can find a fix later. |
e85282e
to
eae6bf0
Compare
To save you some time, you should try to run
Additionally, could you rename |
The openmc CI jobs ran succesfully, which is nice. However, could you add a few more printouts when you are performing tests versus the reference, etc. Because the log file just ends with:
which makes one wonder if there were any checks at all (I guess there were, but without a printout it is hard to tell if the code by mistake aborted too early or what). |
bf248c9
to
c2317d3
Compare
This test checks for coherent scattering physics for NCrystal materials in OpenMC.