-
Notifications
You must be signed in to change notification settings - Fork 11
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
Use pyiron actions #669
Use pyiron actions #669
Conversation
The workflow stuff needs at least 3.10
Pull Request Test Coverage Report for Build 4920731341
💛 - Coveralls |
Unit tests failure:
This is totally correct. The conda-forge package does not exist for windows. I guess the RandSpg job should be wrapped in an EDIT:
Actually, these should be fine since notebooks run on ubuntu-latest anyhow; the randspg example book already finished fine. EDIT: |
benchmark-tests failure:
Indeed, this directory is empty. I guess putting a placeholder test there will probably resolve things. |
build-notebooks failure:
I bet Lammps isn't in the notebook env. Yup:
But why isn't it there? It's in |
The class that uses it isn't tested anyway, so I think the unit tests will pass without even having this dep.
The class that uses it isn't tested anyway, so I think the unit tests will pass without even having this dep.
@srmnitc I can't remember which repo you had planned to convert to using pyiron/actions, but here's a non-trivial example of the conversion. Basically just copied and pasted in all the missing files from pyiron_module_template (updating repo name as needed) and then resolved this issues. |
@niklassiemer, I'm hitting you with the review in the hopes of creating some lasting institutional memory on this process ;) I don't think it's necessary or productive to review line-by-line, but you may wish to compare what was in |
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 had a look at the workflow files - the rest seems to be black :)
Maybe we should start to trust "black" and review before running the black. If approved, fix the black and merge? Another option would be to run black on push to main on the main branch such that we always automatically stay black. |
Co-authored-by: Niklas Siemer <[email protected]>
I'm open to it. I think I would prefer to stay black, as I really am finding it easier to read. Let's discuss this at the meeting on Monday. The nice thing about the centralized CI is that if we decide to go this route, we can just make it so in the centralized workflow, e.g. |
Thanks, and good catch on the leftover ontology reference!!! |
Now that it works for windows. People who install via PyPi still get left out to dry.
Don't worry about test failures; github is currently experiencing issues. Updates here |
# Conflicts: # pyiron_contrib/atomistics/mlip/lammps.py
@srmnitc, I'm pretty sure base and atomistics have additional workflows not yet covered in the centralized CI (e.g. base's integration tests with the other repos, which actually should probably never be in the centralized CI since they're base-specific), so getting them converted won't be as simple as a wholesale replacement of .github/workflow scripts. Nontheless, I hope this PR is informative. |
# Conflicts: # .ci_support/environment.yml
# Conflicts: # pyiron_contrib/__init__.py
# Conflicts: # .ci_support/environment.yml # pyiron_contrib/workflow/workflow.py
Formatting contrib to use pyiron/actions as though it had been created from pyiron_module_template.