-
Notifications
You must be signed in to change notification settings - Fork 1
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
Updating CI workflow #93
Conversation
@carlosggarcia Ready to review, finally! |
Note that the build check will never pass as it's been changed. We will need to update this once the PR is merged. |
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.
LGTM. Solve the conflicts and I will recheck and approve.
if: steps.cache.outputs.cache-hit == 'true' | ||
run: | | ||
mamba install -y openmpi | ||
pip install -U mpi4py --no-cache-dir --no-deps |
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 both mamba and pip?
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'm honestly not sure how to tell conda to build with MPICH or OpenMPI? By using --no-deps we prevent pip from installing any dependencies besides just the mpi4py module
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.
whatever, if it works, let's leave it like this
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.
go merge!
This PR aims to expand our test coverage and unify the CI workflow with the regular development workflow. This is useful because we want the build action to reflect the development workflow that a user who is contributing to the codebase would experience. Currently the two are pretty disjointed (different installs etc).
ci.yaml file
The new workflow is
lint
>tests
>publish
environment.yml
fileenvironment.yml
to include all development dependencies, and instructing a user to pip install with --no-deps to prevent dependency clashes. Removing defaults from channels to prevent similar issues