-
Notifications
You must be signed in to change notification settings - Fork 1
DEVOPS-584: POC on pixi env for HPC #54
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
Conversation
…-584 # Conflicts: # .github/workflows/reusable-python-pytest.yml # .github/workflows/reusable-python-static_analysis.yml
so that it fails in case the lock file is not up-to-date with the pyproject.toml
Can possibly move to hatch or uv later. Building the pypi package does not rely on pixi, even if pixi can be used to define a build environment or a task
0e6f4a5 to
fccb770
Compare
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.
Pull Request Overview
This PR introduces pixi as a new package manager option for HPC environments, extending the existing CI/CD workflows to support conda, poetry, hatch, and pixi package managers.
- Adds pixi support to Python static analysis and pytest workflows
- Creates a new reusable action for setting up pixi environments
- Updates conda setup action to include cache-number parameter for better cache management
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
.github/workflows/reusable-python-static_analysis.yml |
Adds pixi package manager support with conditional setup and pylint execution |
.github/workflows/reusable-python-pytest.yml |
Integrates pixi package manager for pytest execution and updates description wording |
.github/actions/reusable-python-setup_pixi/action.yml |
New action implementing pixi environment setup with caching and authentication |
.github/actions/reusable-python-setup_conda/action.yml |
Adds cache-number input parameter for improved cache management |
Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.
so that subsequent calls to pixi run do not fall back to the default env
|
changes tested from here: MiraGeoscience/geoapps-utils#153 |
DEVOPS-584 - POC on pixi env for HPC